8253748: StressIGV tests fail with release VMs
Reviewed-by: thartmann
This commit is contained in:
parent
70b0fccf79
commit
9c17a35e50
@ -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 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();
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user