8350909: [JMH] test ThreadOnSpinWaitShared failed for 2 threads config

Reviewed-by: jbhateja, drwhite
This commit is contained in:
Vladimir Ivanov 2025-03-07 20:38:25 +00:00 committed by Derek White
parent 8ed6c1d7ee
commit 4e67ac4136

View File

@ -40,7 +40,7 @@ import java.util.concurrent.atomic.AtomicInteger;
@BenchmarkMode(Mode.AverageTime)
@OutputTimeUnit(TimeUnit.MILLISECONDS)
@State(Scope.Benchmark)
@State(Scope.Thread)
@Warmup(iterations = 5, time = 1)
@Measurement(iterations = 5, time = 1)
@Fork(value = 3)