Skip to content

Commit d218ce4

Browse files
committed
8284369: TestFailedAllocationBadGraph fails with -XX:TieredStopAtLevel < 4
Backport-of: 955d61df30099c01c6968fa5851643583f71250e
1 parent 7d3a528 commit d218ce4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/hotspot/jtreg/compiler/allocation/TestFailedAllocationBadGraph.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@
2525
* @test
2626
* bug 8279219
2727
* @summary C2 crash when allocating array of size too large
28+
* @requires vm.compiler2.enabled
2829
* @library /test/lib /
2930
* @build sun.hotspot.WhiteBox
3031
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
31-
* @run main/othervm -ea -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:-BackgroundCompilation TestFailedAllocationBadGraph
32+
* @run main/othervm -ea -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:-BackgroundCompilation TestFailedAllocationBadGraph
3233
*/
3334

3435
import sun.hotspot.WhiteBox;

0 commit comments

Comments
 (0)