< prev index next > test/micro/org/openjdk/bench/java/lang/foreign/TestAdaptVarHandles.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.MILLISECONDS)
! @Fork(value = 3, jvmArgsAppend = "--enable-preview")
public class TestAdaptVarHandles extends JavaLayouts {
static class IntBox {
private final int value;
@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.MILLISECONDS)
! @Fork(3)
public class TestAdaptVarHandles extends JavaLayouts {
static class IntBox {
private final int value;
< prev index next >