RFR: 8300002: Performance regression caused by non-inlined hot methods due to post call noop instructions [v5]
Igor Veresov
iveresov at openjdk.org
Tue Jan 17 18:10:48 UTC 2023
On Tue, 17 Jan 2023 18:06:24 GMT, Sergey Kuksenko <skuksenko at openjdk.org> wrote:
>> src/hotspot/share/asm/assembler.hpp line 257:
>>
>>> 255: }
>>> 256: };
>>> 257: friend class InlineSkippedInstructionsCounter;
>>
>> Technically, in C++11 this is not necessary. Nested classes are automatically friends with the outer class.
>
> Let's make it more clear. Should I remove friend class declaration or not?
Yes, remove it, it's redundant.
-------------
PR: https://git.openjdk.org/jdk/pull/11958
More information about the hotspot-dev
mailing list