RFR: 8311218: fatal error: stuck in JvmtiVTMSTransitionDisabler::VTMS_transition_disable [v3]
Serguei Spitsyn
sspitsyn at openjdk.org
Thu Dec 14 18:26:57 UTC 2023
On Thu, 14 Dec 2023 12:16:34 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:
>> src/hotspot/share/runtime/javaThread.hpp line 320:
>>
>>> 318: bool _is_in_VTMS_transition; // thread is in virtual thread mount state transition
>>> 319: bool _is_in_tmp_VTMS_transition; // thread is in temporary virtual thread mount state transition
>>> 320: bool _is_in_critical_section; // thread is in a locking critical section
>>
>> might make sense to add a comment, that his variable Is changed/read only by current thread and no sync is needed.
>
> Good suggestion, thanks.
Fixed now.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/17011#discussion_r1427099325
More information about the serviceability-dev
mailing list