8318479: [jmh] the test security.CacheBench failed for multiple threads run
Reviewed-by: redestad
This commit is contained in:
parent
95bd92a560
commit
1535528cb1
@ -44,7 +44,7 @@ import sun.security.util.Cache;
|
|||||||
|
|
||||||
@BenchmarkMode(Mode.AverageTime)
|
@BenchmarkMode(Mode.AverageTime)
|
||||||
@OutputTimeUnit(TimeUnit.NANOSECONDS)
|
@OutputTimeUnit(TimeUnit.NANOSECONDS)
|
||||||
@Fork(value = 3, jvmArgsAppend = {"--add-exports", "java.base/sun.security.util=ALL-UNNAMED", "-Xmx1g"})
|
@Fork(value = 3, jvmArgsAppend = {"--add-exports", "java.base/sun.security.util=ALL-UNNAMED"})
|
||||||
@Warmup(iterations = 5, time = 1)
|
@Warmup(iterations = 5, time = 1)
|
||||||
@Measurement(iterations = 5, time = 1)
|
@Measurement(iterations = 5, time = 1)
|
||||||
public class CacheBench {
|
public class CacheBench {
|
||||||
|
Loading…
Reference in New Issue
Block a user