8253748: StressIGV tests fail with release VMs

Reviewed-by: thartmann
This commit is contained in:
Jie Fu 2020-09-29 06:37:46 +00:00
parent 70b0fccf79
commit 9c17a35e50
3 changed files with 4 additions and 4 deletions

View File

@ -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
*/

View File

@ -51,7 +51,7 @@ public class TestGenerateStressSeed {
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();

View File

@ -30,7 +30,7 @@ import jdk.test.lib.Asserts;
/*
* @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.