RFR: 8284303: runtime/Thread/AsyncExceptionTest.java timed out

Patricio Chilano Mateo pchilanomate at openjdk.java.net
Wed Apr 6 02:44:06 UTC 2022


On Tue, 5 Apr 2022 22:31:34 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> Please review this small fix to test runtime/Thread/AsyncExceptionTest.java. On rare cases the methods never reach the desired compilation level so the worker thread just gets blocked and the test times out.
>> I added a bail out after a couple of seconds of waiting.
>> Was able to reproduce the issue and checked the test doesn't timeout anymore with the fix.
>> 
>> Thanks,
>> Patricio
>
> Note, you don't need second `dontinline` command because only these 2 methods will be compiled.

Thanks for the suggestion @vnkozlov! I used that and just removed all the warmup code + WB methods.
I run the test on all mach5 platforms as sanity check.

Patricio

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

PR: https://git.openjdk.java.net/jdk/pull/8097


More information about the hotspot-runtime-dev mailing list