RFR: 8305425: Thread.isAlive0 doesn't need to call into the VM [v8]

David Holmes dholmes at openjdk.org
Wed Apr 5 12:38:10 UTC 2023


On Wed, 5 Apr 2023 08:48:04 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> David Holmes has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Test tweaks
>
> Yes, I suspect having isAlive be synchronized would have had side-effects and maybe deadlock in some cases. Volatile-read on the libs side + OrderAccess::release in the VM at termination time looks okay.

Thanks for the review @AlanBateman !

Any further comments from anyone else?

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

PR Comment: https://git.openjdk.org/jdk/pull/13287#issuecomment-1497414936



More information about the build-dev mailing list