On Thu, 14 Dec 2023 12:16:34 GMT, Serguei Spitsyn <sspit...@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

Reply via email to