RFR: JDK-8286789: Test forceEarlyReturn002.java timed out [v2]

Alex Menkov amenkov at openjdk.org
Wed Aug 16 02:33:44 UTC 2023


On Wed, 16 Aug 2023 00:10:46 GMT, Leonid Mesnik <lmesnik at 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


More information about the serviceability-dev mailing list