< prev index next > test/micro/org/openjdk/bench/java/lang/foreign/MemorySessionClose.java
Print this page
@BenchmarkMode(Mode.AverageTime)
@Warmup(iterations = 5, time = 500, timeUnit = TimeUnit.MILLISECONDS)
@Measurement(iterations = 10, time = 500, timeUnit = TimeUnit.MILLISECONDS)
@State(org.openjdk.jmh.annotations.Scope.Thread)
@OutputTimeUnit(TimeUnit.MICROSECONDS)
! @Fork(value = 3, jvmArgsAppend = "--enable-preview")
public class MemorySessionClose {
static final int ALLOC_SIZE = 1024;
public enum StressMode {
@BenchmarkMode(Mode.AverageTime)
@Warmup(iterations = 5, time = 500, timeUnit = TimeUnit.MILLISECONDS)
@Measurement(iterations = 10, time = 500, timeUnit = TimeUnit.MILLISECONDS)
@State(org.openjdk.jmh.annotations.Scope.Thread)
@OutputTimeUnit(TimeUnit.MICROSECONDS)
! @Fork(3)
public class MemorySessionClose {
static final int ALLOC_SIZE = 1024;
public enum StressMode {
< prev index next >