RFR: 8336846: assert(state->get_thread() == jt) failed: handshake unsafe conditions [v2]
Serguei Spitsyn
sspitsyn at openjdk.org
Thu Aug 1 09:37:08 UTC 2024
On Thu, 1 Aug 2024 05:25:53 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> Serguei Spitsyn has updated the pull request incrementally with one additional commit since the last revision:
>>
>> rearranged to have one JvmtiVTMSTransitionDisabler instead of two
>
> src/hotspot/share/prims/jvmtiEventController.cpp line 988:
>
>> 986: (*count_addr)++;
>> 987: if (*count_addr == 1) {
>> 988: JvmtiVTMSTransitionDisabler disabler;
>
> Could you just declare this outside the if-block rather than repeating it?
Thank you for looking at this and for the suggestion, David.
I wanted to optimize a little bit but agree it is not worth it, so updated now.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20413#discussion_r1699840543
More information about the hotspot-dev
mailing list