8170226: Implement setting jtreg @requires property vm.jvmci
Reviewed-by: kvn
This commit is contained in:
parent
1d62b59444
commit
d63b1299f7
@ -61,6 +61,7 @@ public class VMProps implements Callable<Map<String, String>> {
|
||||
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);
|
||||
@ -156,6 +157,14 @@ public class VMProps implements Callable<Map<String, String>> {
|
||||
return "" + System.getProperty("jdk.debug").contains("debug");
|
||||
}
|
||||
|
||||
/**
|
||||
* @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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user