On Wed, 16 Aug 2023 00:10:46 GMT, Leonid Mesnik <lmes...@openjdk.org> wrote:

>> Alex Menkov has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   use atomic instead of volatile
>
> test/hotspot/jtreg/vmTestbase/nsk/jdwp/ThreadReference/ForceEarlyReturn/forceEarlyReturn002/libforceEarlyReturn002a.cpp
>  line 34:
> 
>> 32: extern "C" {
>> 33: 
>> 34: static volatile bool wait_in_native = true;
> 
> The wait_in_native should be atomic or used inside raw monitors since it is 
> used by different thread.

Fixed.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15301#discussion_r1295317025

Reply via email to