changeset 11975:827d686fa959

8146128: compiler/cpuflags/TestAESIntrinsicsOnSupportedConfig timeouts Summary: test settings were changes in order to avoid timeouts Reviewed-by: kvn
author avorobye
date Fri, 09 Sep 2016 19:30:08 +0300
parents d060826d0911
children 379746c5b2cd
files test/compiler/cpuflags/AESIntrinsicsBase.java test/compiler/cpuflags/TestAESIntrinsicsOnSupportedConfig.java
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/test/compiler/cpuflags/AESIntrinsicsBase.java	Fri Sep 09 06:44:31 2016 +0000
+++ b/test/compiler/cpuflags/AESIntrinsicsBase.java	Fri Sep 09 19:30:08 2016 +0300
@@ -48,8 +48,8 @@
             = {"-XX:+UnlockDiagnosticVMOptions", "-XX:+PrintIntrinsics"};
     public static final String[] TEST_AES_CMD
             = {"-XX:+IgnoreUnrecognizedVMOptions", "-XX:+PrintFlagsFinal",
-            "-Xbatch", "-DcheckOutput=true", "-Dmode=CBC",
-            TestAESMain.class.getName()};
+            "-Xbatch", "-XX:CompileThresholdScaling=0.01", "-DcheckOutput=true", "-Dmode=CBC",
+            TestAESMain.class.getName(), "100", "1000"};
 
     protected AESIntrinsicsBase(BooleanSupplier predicate) {
         super(predicate);
--- a/test/compiler/cpuflags/TestAESIntrinsicsOnSupportedConfig.java	Fri Sep 09 06:44:31 2016 +0000
+++ b/test/compiler/cpuflags/TestAESIntrinsicsOnSupportedConfig.java	Fri Sep 09 19:30:08 2016 +0300
@@ -27,11 +27,11 @@
  * @library /test/lib /
  * @modules java.base/jdk.internal.misc
  *          java.management
- * @ignore 8146128
  * @build sun.hotspot.WhiteBox
  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
  *                                sun.hotspot.WhiteBox$WhiteBoxPermission
- * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
+ * @run main/othervm/timeout=600 -Xbootclasspath/a:.
+ *                   -XX:+UnlockDiagnosticVMOptions
  *                   -XX:+WhiteBoxAPI -Xbatch
  *                   compiler.cpuflags.TestAESIntrinsicsOnSupportedConfig
  */