[jdk21u-dev] RFR: 8346175: juc cannot be woken up when using virtual thread
Alan Bateman
alanb at openjdk.org
Thu Mar 6 12:29:59 UTC 2025
On Thu, 6 Mar 2025 10:34:06 GMT, Jiawei Tang <jwtang at openjdk.org> wrote:
> The failed rate of the test I add was 21/100 before.
>
> Besides, all jtreg testcases in `test/jdk/java/lang/Thread/`&`test/jdk/java/util/concurrent/` has passed.
test/jdk/java/lang/Thread/virtual/JucSyncNativeMethod.java line 44:
> 42: import java.util.concurrent.locks.ReentrantLock;
> 43:
> 44: public class JucSyncNativeMethod {
The tests in main line are test/jdk/java/util/concurrent/forkjoin/Starvation.jav and test/jdk/java/lang/Thread/virtual/Starvation.java, I assume you should be using those.
-------------
PR Review Comment: https://git.openjdk.org/jdk21u-dev/pull/1455#discussion_r1983266174
More information about the jdk-updates-dev
mailing list