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

Kim Barrett kbarrett at openjdk.org
Tue Nov 19 15:41: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().

Looks good.

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

Marked as reviewed by kbarrett (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/22220#pullrequestreview-2445857742


More information about the hotspot-dev mailing list