We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39d7ac7 commit b69a40fCopy full SHA for b69a40f
1 file changed
test/jdk/java/lang/Thread/virtual/stress/NotifiedThenTimedOutWait.java
@@ -110,6 +110,8 @@ private static void race2(int iterations) throws InterruptedException {
110
}
111
});
112
113
+ // We tested with a platform thread in race1. Here we
114
+ // use a vthread to exercise different timing behavior.
115
Thread vthread2 = Thread.startVirtualThread(() -> {
116
for (int i = 0; i < iterations; i++) {
117
start.arriveAndAwaitAdvance();
0 commit comments