< prev index next >

test/hotspot/jtreg/gc/metaspace/TestMetaspacePerfCounters.java

Print this page
@@ -263,11 +263,11 @@
          byte[] byteCode = InMemoryJavaCompiler.compile(name, source);
          return ByteCodeLoader.load(name, byteCode);
      }
  
      private static boolean isUsingCompressedClassPointers() {
-         return Platform.is64bit() && InputArguments.contains("-XX:+UseCompressedClassPointers");
+         return Platform.is64bit();
      }
  
      private static long getMinCapacity(String ns) throws Exception {
          return PerfCounters.findByName(ns + ".minCapacity").longValue();
      }
< prev index next >