[jdk25u-dev] Integrated: 8360702: runtime/Thread/AsyncExceptionTest.java timed out
Roland Mesde
duke at openjdk.org
Mon Feb 23 18:22:44 UTC 2026
On Tue, 17 Feb 2026 21:21:51 GMT, Roland Mesde <duke at openjdk.org> wrote:
> Backporting JDK-8360702: runtime/Thread/AsyncExceptionTest.java timed out.
>
> This PR fixes the test timeouts by removing synchronization that allowed async exceptions to interrupt ForkJoinPool code when using virtual threads.
>
> For parity with Oracle JDK.
>
> The commit is not clean because it skips https://bugs.openjdk.org/browse/JDK-8307370 which adds the AsyncExceptionOnMonitorEnter.java test (including other tests) to test/hotspot/jtreg/ProblemList-Virtual.txt, and https://bugs.openjdk.org/browse/JDK-8348844, which removes the AsyncExceptionOnMonitorEnter.java test (including other tests) from the problem list and replaces it with a "requires" restriction which was removed by this commit (where the conflict is). The issues mentioned are associated to a larger dependency graph. This PR change isolates the fix to the tests associated to this issue.
>
> Ran related tests on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:
>
> make test TEST=test/hotspot/jtreg/runtime/Thread/AsyncExceptionOnMonitorEnter.java
> make test TESTtest/hotspot/jtreg/runtime/Thread/AsyncExceptionTest.java
>
> Results attached:
>
> [windows-x64-specific-test.log](https://github.com/user-attachments/files/25394460/windows-x64-specific-test.log)
> [windows-x64-specific-2-test.log](https://github.com/user-attachments/files/25394461/windows-x64-specific-2-test.log)
> [macos-aarch64-specific-test.log](https://github.com/user-attachments/files/25394462/macos-aarch64-specific-test.log)
> [macos-aarch64-specific-2-test.log](https://github.com/user-attachments/files/25394466/macos-aarch64-specific-2-test.log)
> [linux-x64-specific-test.log](https://github.com/user-attachments/files/25394468/linux-x64-specific-test.log)
> [linux-x64-specific-2-test.log](https://github.com/user-attachments/files/25394469/linux-x64-specific-2-test.log)
> [linux-aarch64-specific-test.log](https://github.com/user-attachments/files/25394470/linux-aarch64-specific-test.log)
> [linux-aarch64-specific-2-test.log](https://github.com/user-attachments/files/25394471/linux-aarch64-specific-2-test.log)
This pull request has now been integrated.
Changeset: 78ae7bdc
Author: Roland Mesde <mesde at amazon.com>
Committer: Paul Hohensee <phh at openjdk.org>
URL: https://git.openjdk.org/jdk25u-dev/commit/78ae7bdc9728f68d03db60c0c3c5ff72c043970b
Stats: 51 lines in 2 files changed: 20 ins; 18 del; 13 mod
8360702: runtime/Thread/AsyncExceptionTest.java timed out
Reviewed-by: shade
Backport-of: 6f03c7808de2b07b1e501d05b1bb7d5bfde5e393
-------------
PR: https://git.openjdk.org/jdk25u-dev/pull/274
More information about the jdk-updates-dev
mailing list