8311178: JMH tests don't scale well when sharing output buffers

Co-authored-by: Vladimir Ivanov <vaivanov@openjdk.org>
Reviewed-by: ecaspole, sviswanathan, mli
This commit is contained in:
Swati Sharma 2023-07-11 16:14:33 +00:00 committed by Sandhya Viswanathan
parent 00c7f914c6
commit a03a3a43bb
12 changed files with 17 additions and 17 deletions

View file

@ -61,7 +61,7 @@ class MyClass {
}
}
@State(Scope.Benchmark)
@State(Scope.Thread)
@BenchmarkMode(Mode.Throughput)
@OutputTimeUnit(TimeUnit.MILLISECONDS)
@Warmup(iterations = 10, time = 1)