< prev index next >

test/micro/org/openjdk/bench/java/lang/foreign/UnrolledAccess.java

Print this page
@@ -38,19 +38,15 @@
  @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", "--enable-native-access=ALL-UNNAMED" })
+ @Fork(value = 3, jvmArgsAppend = { "--enable-native-access=ALL-UNNAMED" })
  public class UnrolledAccess extends JavaLayouts {
  
      static final Unsafe U = Utils.unsafe;
  
-     static final VarHandle VH_LONG_UNALIGNED = JAVA_LONG_UNALIGNED.arrayElementVarHandle();
- 
-     static final VarHandle VH_LONG = JAVA_LONG.arrayElementVarHandle();
- 
      final static int SIZE = 1024;
  
      @State(Scope.Benchmark)
      public static class Data {
  
< prev index next >