RFR: 8344445: MethodCounters don't need a vptr [v2]

Coleen Phillimore coleenp at openjdk.org
Tue Nov 19 16:15:57 UTC 2024


On Tue, 19 Nov 2024 12:23:08 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> This is a somewhat trivial change to make MethodCounters inherit from MetaspaceObj so that they don't have any virtual functions (and vptrs).  They're just a bunch of ints.
>> 
>> Tested with tier1-4.
>
> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Remove method_pointers_size() in favor of static size().

Thank you Kim and Dean.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/22220#issuecomment-2486147034


More information about the hotspot-dev mailing list