< prev index next > test/micro/org/openjdk/bench/java/lang/foreign/MemorySegmentVsBits.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.NANOSECONDS)
- @Fork(value = 3, jvmArgsAppend = {"--enable-native-access=ALL-UNNAMED", "--enable-preview"})
+ @Fork(value = 3, jvmArgsAppend = {"--enable-native-access=ALL-UNNAMED"})
public class MemorySegmentVsBits {
public static final VarHandle LONG_ARRAY_VH = MethodHandles.byteArrayViewVarHandle(long[].class, BIG_ENDIAN);
Arena arena = Arena.ofConfined();
< prev index next >