RFR: 8237055: [TESTBUG] compiler/c2/TestJumpTable.java fails with release VMs

jiefu(傅杰) jiefu at tencent.com
Tue Jan 14 01:26:12 UTC 2020


Hi all,



JBS: https://bugs.openjdk.java.net/browse/JDK-8237055



May I get reviews for this one-line fix?

The patch just adds -XX:+UnlockDiagnosticVMOptions for the test.



-----------------------------------------------------------------------

diff -r db9bdbeaed29 test/hotspot/jtreg/compiler/c2/TestJumpTable.java

--- a/test/hotspot/jtreg/compiler/c2/TestJumpTable.java Mon Jan 13 14:09:30 2020 -0800

+++ b/test/hotspot/jtreg/compiler/c2/TestJumpTable.java Tue Jan 14 09:11:06 2020 +0800

@@ -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

  */

-----------------------------------------------------------------------



Thanks a lot.

Best regards,

Jie


More information about the hotspot-compiler-dev mailing list