Skip to content

Commit 4e67ac4

Browse files
Vladimir IvanovDerek White
Vladimir Ivanov
authored and
Derek White
committed
8350909: [JMH] test ThreadOnSpinWaitShared failed for 2 threads config
Reviewed-by: jbhateja, drwhite
1 parent 8ed6c1d commit 4e67ac4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/micro/org/openjdk/bench/java/lang/ThreadOnSpinWaitSharedCounter.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
@BenchmarkMode(Mode.AverageTime)
4242
@OutputTimeUnit(TimeUnit.MILLISECONDS)
43-
@State(Scope.Benchmark)
43+
@State(Scope.Thread)
4444
@Warmup(iterations = 5, time = 1)
4545
@Measurement(iterations = 5, time = 1)
4646
@Fork(value = 3)

0 commit comments

Comments
 (0)