< prev index next >

test/jtreg-ext/requires/VMProps.java

Print this page
rev 53191 : [mq]: webrev.0
rev 53192 : [mq]: webrev.1

@@ -95,10 +95,11 @@
         map.put("vm.graal.enabled", isGraalEnabled());
         map.put("vm.compiler1.enabled", isCompiler1Enabled());
         map.put("vm.compiler2.enabled", isCompiler2Enabled());
         map.put("docker.support", dockerSupport());
         map.put("release.implementor", implementor());
+        map.put("test.vm.gc.nvdimm", isNvdimmTestEnabled());
         vmGC(map); // vm.gc.X = true/false
         vmOptFinalFlags(map);
 
         VMProps.dump(map);
         return map;

@@ -467,10 +468,19 @@
             e.printStackTrace();
         }
         return null;
     }
 
+    private String isNvdimmTestEnabled() {
+        String isEnbled = System.getenv("TEST_VM_GC_NVDIMM");
+        if (isEnbled != null && isEnbled.toLowerCase().equals("true")) {
+            return "true";
+        }
+        return "false";
+    }
+
+
 
     /**
      * Dumps the map to the file if the file name is given as the property.
      * This functionality could be helpful to know context in the real
      * execution.
< prev index next >