RFR: 8300002: Performance regression caused by non-inlined hot methods due to post call noop instructions [v3]
Igor Veresov
iveresov at openjdk.org
Tue Jan 17 18:13:50 UTC 2023
On Tue, 17 Jan 2023 17:53:30 GMT, Sergey Kuksenko <skuksenko at openjdk.org> wrote:
>> Or may be it should be done in the destructor of `InlineSkippedInstructionsCounter`? Would be IMO cleaner.
>
> I could do it as you wish. Please, tell me which variant is preferable for you.
> PS But personally, I don't like putting actions inside destructors due to implicitness/non-visibility.
There are a lot of classes that do that (the scoped accumulator pattern) already in the JVM. Let's move it do the destructor.
-------------
PR: https://git.openjdk.org/jdk/pull/11958
More information about the hotspot-dev
mailing list