8170918: Remove shell script from test/compiler/c2/cr7200264/TestIntVect.java

Reviewed-by: kvn
This commit is contained in:
Boris Molodenkov 2016-12-21 14:41:48 +03:00
parent 6e7a28b3a2
commit 396af967d6

View File

@ -33,6 +33,8 @@ import java.util.Map;
import java.util.concurrent.Callable;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import sun.hotspot.cpuinfo.CPUInfo;
import sun.hotspot.gc.GC;
import sun.hotspot.WhiteBox;
@ -62,6 +64,7 @@ public class VMProps implements Callable<Map<String, String>> {
map.put("vm.simpleArch", vmArch());
map.put("vm.debug", vmDebug());
map.put("vm.jvmci", vmJvmci());
map.put("vm.cpu.features", cpuFeatures());
vmGC(map); // vm.gc.X = true/false
VMProps.dump(map);
@ -165,6 +168,13 @@ public class VMProps implements Callable<Map<String, String>> {
return "" + (WB.getBooleanVMFlag("EnableJVMCI") != null);
}
/**
* @return supported CPU features
*/
protected String cpuFeatures() {
return CPUInfo.getFeatures().toString();
}
/**
* For all existing GC sets vm.gc.X property.
* Example vm.gc.G1=true means: