On Fri, 8 May 2026 05:50:38 GMT, David Holmes <[email protected]> wrote:

>> src/hotspot/share/runtime/thread.cpp line 611:
>> 
>>> 609: 
>>> 610: void* Thread::process_revival() {
>>> 611:   _revived_vm = true;
>> 
>> Should we access it with atomic operation?
>
> If I understand correctly there is only a single thread in the process, 
> impersonating the VMThread.

Yes there is no real competition here.  The live process will never see 
_revived_vm being true, and in revival, when we set this, that is the only 
thread that will later read it.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/31011#discussion_r3208011712

Reply via email to