Merge
authorjwilhelm
Mon, 09 Jan 2017 17:10:31 +0100
changeset 43392 1d70865a1fc9
parent 42982 6b8e24d9bb32 (current diff)
parent 43391 54e569decfd9 (diff)
child 43393 2622e9ad2ad3
Merge
common/autoconf/generated-configure.sh
--- a/common/autoconf/generated-configure.sh	Thu Jan 05 19:46:24 2017 +0000
+++ b/common/autoconf/generated-configure.sh	Mon Jan 09 17:10:31 2017 +0100
@@ -5167,7 +5167,7 @@
 #CUSTOM_AUTOCONF_INCLUDE
 
 # Do not change or remove the following line, it is needed for consistency checks:
-DATE_WHEN_GENERATED=1483542685
+DATE_WHEN_GENERATED=1483978216
 
 ###############################################################################
 #
--- a/test/jtreg-ext/requires/VMProps.java	Thu Jan 05 19:46:24 2017 +0000
+++ b/test/jtreg-ext/requires/VMProps.java	Mon Jan 09 17:10:31 2017 +0100
@@ -33,6 +33,8 @@
 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 @@
         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);
@@ -166,6 +169,13 @@
     }
 
     /**
+     * @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:
      *    VM supports G1