--- a/test/jtreg-ext/requires/VMProps.java Wed Nov 23 12:25:21 2016 +0300
+++ b/test/jtreg-ext/requires/VMProps.java Fri Nov 25 11:55:33 2016 +0300
@@ -61,6 +61,7 @@
map.put("vm.flightRecorder", vmFlightRecorder());
map.put("vm.simpleArch", vmArch());
map.put("vm.debug", vmDebug());
+ map.put("vm.jvmci", vmJvmci());
vmGC(map); // vm.gc.X = true/false
VMProps.dump(map);
@@ -157,6 +158,14 @@
}
/**
+ * @return true if VM supports JVMCI and false otherwise
+ */
+ protected String vmJvmci() {
+ // builds with jvmci have this flag
+ return "" + (WB.getBooleanVMFlag("EnableJVMCI") != null);
+ }
+
+ /**
* For all existing GC sets vm.gc.X property.
* Example vm.gc.G1=true means:
* VM supports G1