8284369: TestFailedAllocationBadGraph fails with -XX:TieredStopAtLevel < 4

Backport-of: 955d61df30099c01c6968fa5851643583f71250e
This commit is contained in:
Tobias Hartmann 2022-04-11 05:29:46 +00:00
parent 9366a802b7
commit d417c34579

View File

@ -25,10 +25,11 @@
* @test
* bug 8279219
* @summary C2 crash when allocating array of size too large
* @requires vm.compiler2.enabled
* @library /test/lib /
* @build sun.hotspot.WhiteBox
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm -ea -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:-BackgroundCompilation TestFailedAllocationBadGraph
* @run main/othervm -ea -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:-BackgroundCompilation TestFailedAllocationBadGraph
*/
import sun.hotspot.WhiteBox;