Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8253748: StressIGV tests fail with release VMs
Reviewed-by: thartmann
  • Loading branch information
DamonFool committed Sep 29, 2020
1 parent 70b0fcc commit 9c17a35e50e86eaa1274389f8a4709da3a9c6402
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
@@ -27,9 +27,9 @@
* @requires vm.compiler2.enabled
* @summary Tests that different combinations of the options -XX:+StressIGVN and
* -XX:StressSeed=N are accepted.
* @run main/othervm -XX:+StressIGVN
* @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+StressIGVN
* compiler.arguments.TestStressIGVNOptions
* @run main/othervm -XX:+StressIGVN -XX:StressSeed=42
* @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+StressIGVN -XX:StressSeed=42
* compiler.arguments.TestStressIGVNOptions
*/

@@ -51,7 +51,7 @@ public static void main(String[] args) throws Exception {
String className = TestGenerateStressSeed.class.getName();
String log = "test.log";
String[] procArgs = {
"-Xcomp", "-XX:-TieredCompilation",
"-Xcomp", "-XX:-TieredCompilation", "-XX:+UnlockDiagnosticVMOptions",
"-XX:CompileOnly=" + className + "::sum", "-XX:+StressIGVN",
"-XX:+LogCompilation", "-XX:LogFile=" + log, className, "10"};
ProcessTools.createJavaProcessBuilder(procArgs).start().waitFor();
@@ -30,7 +30,7 @@
/*
* @test
* @bug 8252219
* @requires vm.compiler2.enabled
* @requires vm.debug == true & vm.compiler2.enabled
* @summary Tests that compilations with the same seed yield the same IGVN
* trace, and compilations with different seeds yield different IGVN
* traces.

0 comments on commit 9c17a35

Please sign in to comment.