RFR: 8284303: runtime/Thread/AsyncExceptionTest.java timed out [v2]

Daniel D.Daugherty dcubed at openjdk.java.net
Wed Apr 6 16:17:40 UTC 2022


On Wed, 6 Apr 2022 02:44:04 GMT, Patricio Chilano Mateo <pchilanomate 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
>
> Patricio Chilano Mateo has updated the pull request incrementally with one additional commit since the last revision:
> 
>   use compilecommand and remove warmup + WB methods

The revised test is much simpler. Very cool. Thumbs up.

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

Marked as reviewed by dcubed (Reviewer).

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


More information about the hotspot-runtime-dev mailing list