< prev index next >

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

Print this page
@@ -172,11 +172,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() && !InputArguments.contains("-XX:-UseCompressedClassPointers") /*&& !InputArguments.contains("-XX:-UseCompactObjectHeaders") */;
      }
  
      private static long getMinCapacity(String ns) throws Exception {
          return PerfCounters.findByName(ns + ".minCapacity").longValue();
      }
< prev index next >