Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8257803: Add -Xbatch to compiler/blackhole tests
Reviewed-by: dholmes
  • Loading branch information
shipilev committed Dec 7, 2020
1 parent 29a09c8 commit 05dac03
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 20 deletions.
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
Expand Up @@ -53,6 +53,7 @@ public static void driver() throws IOException {
{
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(
"-Xmx128m",
"-Xbatch",
"-XX:CompileCommand=quiet",
"-XX:CompileCommand=blackhole,compiler/blackhole/BlackholeTarget.bh_*",
"compiler.blackhole.BlackholeNonVoidWarning",
Expand Down
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

1 comment on commit 05dac03

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.