8318479: [jmh] the test security.CacheBench failed for multiple threads run

Reviewed-by: redestad
This commit is contained in:
Daniel Jeliński 2023-11-14 09:53:23 +00:00
parent 95bd92a560
commit 1535528cb1

View File

@ -44,7 +44,7 @@ import sun.security.util.Cache;
@BenchmarkMode(Mode.AverageTime)
@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)
@Measurement(iterations = 5, time = 1)
public class CacheBench {