[jdk25u-dev] RFR: 8360702: runtime/Thread/AsyncExceptionTest.java timed out
duke
duke at openjdk.org
Mon Feb 23 16:46:59 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)
@rm-gh-8
Your change (at version 11d89637fb084bb1f8d5640b29df034015e8523d) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk25u-dev/pull/274#issuecomment-3945929623
More information about the jdk-updates-dev
mailing list