8217518: Crypto benchmarks not warming up in time

Adding +AlwaysPreTouch to crypto benchmarks to allow GC to warm up

Reviewed-by: redestad
This commit is contained in:
Adam Petcher 2019-01-24 09:25:06 -05:00
parent 13dd3cb24e
commit e4da9cdab0

View File

@ -45,7 +45,7 @@ import java.util.Random;
import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeUnit;
@Fork(5) @Fork(jvmArgsAppend = {"-XX:+AlwaysPreTouch"}, value = 5)
@Warmup(iterations = 3, time = 3) @Warmup(iterations = 3, time = 3)
@Measurement(iterations = 8, time = 2) @Measurement(iterations = 8, time = 2)
@OutputTimeUnit(TimeUnit.SECONDS) @OutputTimeUnit(TimeUnit.SECONDS)