diff --git a/test/hotspot/jtreg/compiler/c2/TestJumpTable.java b/test/hotspot/jtreg/compiler/c2/TestJumpTable.java index 7cd5f8188a8..eac1bb53a89 100644 --- a/test/hotspot/jtreg/compiler/c2/TestJumpTable.java +++ b/test/hotspot/jtreg/compiler/c2/TestJumpTable.java @@ -26,7 +26,7 @@ * @bug 8229855 * @summary Test jump table with key value that gets out of bounds after loop unrolling. * @run main/othervm -XX:CompileCommand=dontinline,compiler.c2.TestJumpTable::test* - * -Xbatch -XX:-TieredCompilation -XX:-UseSwitchProfiling + * -Xbatch -XX:+UnlockDiagnosticVMOptions -XX:-TieredCompilation -XX:-UseSwitchProfiling * compiler.c2.TestJumpTable */