RFR: 8362530: VM crash with -XX:+PrintTieredEvents when collecting AOT profiling [v2]
Igor Veresov
iveresov at openjdk.org
Wed Aug 13 16:29:12 UTC 2025
On Wed, 13 Aug 2025 08:53:36 GMT, Christian Hagedorn <chagedorn at openjdk.org> wrote:
>> Igor Veresov has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Update src/hotspot/share/compiler/compilationPolicy.cpp
>>
>> Co-authored-by: Christian Hagedorn <christian.hagedorn at oracle.com>
>
> src/hotspot/share/compiler/compilationPolicy.cpp line 552:
>
>> 550: print_event_on(&s, type, m, im, bci, level);
>> 551: ResourceMark rm;
>> 552: ttyLocker tty_lock;
>
> Do you really need the lock with only one `print()`? I thought it should be safe in that case.
Yeah, you're right, I probably don't need it.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26750#discussion_r2273975993
More information about the hotspot-compiler-dev
mailing list