Hi all, When `-Xcomp` be used, java thread to block for longer, then causing StructuredTaskScopeTest.java failed frequently on the AArch64 and LoongArch64 architecture.
This PR fix the issue, Please help review it. Thanks. ------------- Commit messages: - 8301736: jdk/incubator/concurrent/StructuredTaskScope/StructuredTaskScopeTest.java fail with -Xcomp Changes: https://git.openjdk.org/jdk/pull/12398/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12398&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8301736 Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod Patch: https://git.openjdk.org/jdk/pull/12398.diff Fetch: git fetch https://git.openjdk.org/jdk pull/12398/head:pull/12398 PR: https://git.openjdk.org/jdk/pull/12398