RFR: 8360702: runtime/Thread/AsyncExceptionTest.java timed out [v4]
Patricio Chilano Mateo
pchilanomate at openjdk.org
Wed Dec 3 18:33:32 UTC 2025
> Please review this small test fix. To make sure the worker thread receives the async exception at a safe place, we should avoid using synchronization objects where the worker thread might need to unpark the main thread. Otherwise, if the main thread is virtual, the async exception might be set while the worker is still executing FJP code. See JBS comments for more detail.
>
> I fixed test AsyncExceptionOnMonitorEnter.java too and removed it from test/hotspot/jtreg/ProblemList-Virtual.txt. The alternative was to problem list AsyncExceptionTest.java, but I think it’s better if we can just keep the tests for this mode too.
>
> Thanks,
> Patricio
Patricio Chilano Mateo has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains six commits:
- use int
- Merge branch 'master' into JDK-8360702
- Remove extra space
- Remove finally block
- David's comments
- v1
-------------
Changes: https://git.openjdk.org/jdk/pull/27582/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27582&range=03
Stats: 51 lines in 2 files changed: 20 ins; 18 del; 13 mod
Patch: https://git.openjdk.org/jdk/pull/27582.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27582/head:pull/27582
PR: https://git.openjdk.org/jdk/pull/27582
More information about the hotspot-runtime-dev
mailing list