mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-14 18:03:44 +00:00
8277659: [TESTBUG] Microbenchmark ThreadOnSpinWaitProducerConsumer.java hangs
Reviewed-by: njian, ngasson
This commit is contained in:
parent
7e54d065a1
commit
3383c0dcc0
@ -193,6 +193,7 @@ public class ThreadOnSpinWaitProducerConsumer {
|
||||
}
|
||||
}
|
||||
threadConsumer.interrupt();
|
||||
threadConsumer.join();
|
||||
|
||||
if (producedDataCount != maxNum) {
|
||||
throw new RuntimeException("Produced: " + producedDataCount + ". Expected: " + maxNum);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user