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:
parent
13dd3cb24e
commit
e4da9cdab0
@ -45,7 +45,7 @@ import java.util.Random;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
|
||||
@Fork(5)
|
||||
@Fork(jvmArgsAppend = {"-XX:+AlwaysPreTouch"}, value = 5)
|
||||
@Warmup(iterations = 3, time = 3)
|
||||
@Measurement(iterations = 8, time = 2)
|
||||
@OutputTimeUnit(TimeUnit.SECONDS)
|
||||
|
Loading…
Reference in New Issue
Block a user