8257803: Add -Xbatch to compiler/blackhole tests

Reviewed-by: dholmes
This commit is contained in:
Aleksey Shipilev 2020-12-07 06:43:34 +00:00
parent 29a09c8911
commit 05dac03f36
6 changed files with 21 additions and 20 deletions

@ -27,7 +27,7 @@
*
* @run main/othervm
* -Xmx1g
* -XX:TieredStopAtLevel=1
* -Xbatch -XX:TieredStopAtLevel=1
* -XX:+UnlockDiagnosticVMOptions -XX:+AbortVMOnCompilationFailure
* -XX:CompileCommand=blackhole,compiler/blackhole/BlackholeTarget.bh_*
* compiler.blackhole.BlackholeInstanceReturnTest
@ -39,7 +39,7 @@
*
* @run main/othervm
* -Xmx1g
* -XX:-TieredCompilation
* -Xbatch -XX:-TieredCompilation
* -XX:+UnlockDiagnosticVMOptions -XX:+AbortVMOnCompilationFailure
* -XX:CompileCommand=blackhole,compiler/blackhole/BlackholeTarget.bh_*
* compiler.blackhole.BlackholeInstanceReturnTest
@ -52,7 +52,7 @@
*
* @run main/othervm
* -Xmx1g -XX:-UseCompressedOops
* -XX:TieredStopAtLevel=1
* -Xbatch -XX:TieredStopAtLevel=1
* -XX:+UnlockDiagnosticVMOptions -XX:+AbortVMOnCompilationFailure
* -XX:CompileCommand=blackhole,compiler/blackhole/BlackholeTarget.bh_*
* compiler.blackhole.BlackholeInstanceReturnTest
@ -65,7 +65,7 @@
*
* @run main/othervm
* -Xmx1g -XX:-UseCompressedOops
* -XX:-TieredCompilation
* -Xbatch -XX:-TieredCompilation
* -XX:+UnlockDiagnosticVMOptions -XX:+AbortVMOnCompilationFailure
* -XX:CompileCommand=blackhole,compiler/blackhole/BlackholeTarget.bh_*
* compiler.blackhole.BlackholeInstanceReturnTest

@ -27,7 +27,7 @@
*
* @run main/othervm
* -Xmx1g
* -XX:TieredStopAtLevel=1
* -Xbatch -XX:TieredStopAtLevel=1
* -XX:+UnlockDiagnosticVMOptions -XX:+AbortVMOnCompilationFailure
* -XX:CompileCommand=blackhole,compiler/blackhole/BlackholeTarget.bh_*
* compiler.blackhole.BlackholeInstanceTest
@ -39,7 +39,7 @@
*
* @run main/othervm
* -Xmx1g
* -XX:-TieredCompilation
* -Xbatch -XX:-TieredCompilation
* -XX:+UnlockDiagnosticVMOptions -XX:+AbortVMOnCompilationFailure
* -XX:CompileCommand=blackhole,compiler/blackhole/BlackholeTarget.bh_*
* compiler.blackhole.BlackholeInstanceTest
@ -52,7 +52,7 @@
*
* @run main/othervm
* -Xmx1g -XX:-UseCompressedOops
* -XX:TieredStopAtLevel=1
* -Xbatch -XX:TieredStopAtLevel=1
* -XX:+UnlockDiagnosticVMOptions -XX:+AbortVMOnCompilationFailure
* -XX:CompileCommand=blackhole,compiler/blackhole/BlackholeTarget.bh_*
* compiler.blackhole.BlackholeInstanceTest
@ -65,7 +65,7 @@
*
* @run main/othervm
* -Xmx1g -XX:-UseCompressedOops
* -XX:-TieredCompilation
* -Xbatch -XX:-TieredCompilation
* -XX:+UnlockDiagnosticVMOptions -XX:+AbortVMOnCompilationFailure
* -XX:CompileCommand=blackhole,compiler/blackhole/BlackholeTarget.bh_*
* compiler.blackhole.BlackholeInstanceTest

@ -53,6 +53,7 @@ public class BlackholeNonVoidWarning {
{
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(
"-Xmx128m",
"-Xbatch",
"-XX:CompileCommand=quiet",
"-XX:CompileCommand=blackhole,compiler/blackhole/BlackholeTarget.bh_*",
"compiler.blackhole.BlackholeNonVoidWarning",

@ -27,7 +27,7 @@
*
* @run main/othervm
* -Xmx1g
* -XX:TieredStopAtLevel=1
* -Xbatch -XX:TieredStopAtLevel=1
* -XX:+UnlockDiagnosticVMOptions -XX:+AbortVMOnCompilationFailure
* -XX:CompileCommand=blackhole,compiler/blackhole/BlackholeTarget.bh_*
* compiler.blackhole.BlackholeNullCheckTest
@ -39,7 +39,7 @@
*
* @run main/othervm
* -Xmx1g
* -XX:-TieredCompilation
* -Xbatch -XX:-TieredCompilation
* -XX:+UnlockDiagnosticVMOptions -XX:+AbortVMOnCompilationFailure
* -XX:CompileCommand=blackhole,compiler/blackhole/BlackholeTarget.bh_*
* compiler.blackhole.BlackholeNullCheckTest
@ -52,7 +52,7 @@
*
* @run main/othervm
* -Xmx1g -XX:-UseCompressedOops
* -XX:TieredStopAtLevel=1
* -Xbatch -XX:TieredStopAtLevel=1
* -XX:+UnlockDiagnosticVMOptions -XX:+AbortVMOnCompilationFailure
* -XX:CompileCommand=blackhole,compiler/blackhole/BlackholeTarget.bh_*
* compiler.blackhole.BlackholeNullCheckTest
@ -65,7 +65,7 @@
*
* @run main/othervm
* -Xmx1g -XX:-UseCompressedOops
* -XX:-TieredCompilation
* -Xbatch -XX:-TieredCompilation
* -XX:+UnlockDiagnosticVMOptions -XX:+AbortVMOnCompilationFailure
* -XX:CompileCommand=blackhole,compiler/blackhole/BlackholeTarget.bh_*
* compiler.blackhole.BlackholeNullCheckTest

@ -27,7 +27,7 @@
*
* @run main/othervm
* -Xmx1g
* -XX:TieredStopAtLevel=1
* -Xbatch -XX:TieredStopAtLevel=1
* -XX:+UnlockDiagnosticVMOptions -XX:+AbortVMOnCompilationFailure
* -XX:CompileCommand=blackhole,compiler/blackhole/BlackholeTarget.bh_*
* compiler.blackhole.BlackholeStaticReturnTest
@ -39,7 +39,7 @@
*
* @run main/othervm
* -Xmx1g
* -XX:-TieredCompilation
* -Xbatch -XX:-TieredCompilation
* -XX:+UnlockDiagnosticVMOptions -XX:+AbortVMOnCompilationFailure
* -XX:CompileCommand=blackhole,compiler/blackhole/BlackholeTarget.bh_*
* compiler.blackhole.BlackholeStaticReturnTest
@ -52,7 +52,7 @@
*
* @run main/othervm
* -Xmx1g -XX:-UseCompressedOops
* -XX:TieredStopAtLevel=1
* -Xbatch -XX:TieredStopAtLevel=1
* -XX:+UnlockDiagnosticVMOptions -XX:+AbortVMOnCompilationFailure
* -XX:CompileCommand=blackhole,compiler/blackhole/BlackholeTarget.bh_*
* compiler.blackhole.BlackholeStaticReturnTest
@ -65,7 +65,7 @@
*
* @run main/othervm
* -Xmx1g -XX:-UseCompressedOops
* -XX:-TieredCompilation
* -Xbatch -XX:-TieredCompilation
* -XX:+UnlockDiagnosticVMOptions -XX:+AbortVMOnCompilationFailure
* -XX:CompileCommand=blackhole,compiler/blackhole/BlackholeTarget.bh_*
* compiler.blackhole.BlackholeStaticReturnTest

@ -27,7 +27,7 @@
*
* @run main/othervm
* -Xmx1g
* -XX:TieredStopAtLevel=1
* -Xbatch -XX:TieredStopAtLevel=1
* -XX:+UnlockDiagnosticVMOptions -XX:+AbortVMOnCompilationFailure
* -XX:CompileCommand=blackhole,compiler/blackhole/BlackholeTarget.bh_*
* compiler.blackhole.BlackholeStaticTest
@ -39,7 +39,7 @@
*
* @run main/othervm
* -Xmx1g
* -XX:-TieredCompilation
* -Xbatch -XX:-TieredCompilation
* -XX:+UnlockDiagnosticVMOptions -XX:+AbortVMOnCompilationFailure
* -XX:CompileCommand=blackhole,compiler/blackhole/BlackholeTarget.bh_*
* compiler.blackhole.BlackholeStaticTest
@ -52,7 +52,7 @@
*
* @run main/othervm
* -Xmx1g -XX:-UseCompressedOops
* -XX:TieredStopAtLevel=1
* -Xbatch -XX:TieredStopAtLevel=1
* -XX:+UnlockDiagnosticVMOptions -XX:+AbortVMOnCompilationFailure
* -XX:CompileCommand=blackhole,compiler/blackhole/BlackholeTarget.bh_*
* compiler.blackhole.BlackholeStaticTest
@ -65,7 +65,7 @@
*
* @run main/othervm
* -Xmx1g -XX:-UseCompressedOops
* -XX:-TieredCompilation
* -Xbatch -XX:-TieredCompilation
* -XX:+UnlockDiagnosticVMOptions -XX:+AbortVMOnCompilationFailure
* -XX:CompileCommand=blackhole,compiler/blackhole/BlackholeTarget.bh_*
* compiler.blackhole.BlackholeStaticTest