-
Bug
-
Resolution: Fixed
-
P3
-
11, 14, 15
-
b32
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8237232 | 15 | Jie Fu | P3 | Resolved | Fixed | b06 |
JDK-8237687 | 14.0.2 | Jie Fu | P3 | Resolved | Fixed | master |
JDK-8238141 | 14.0.1 | Unassigned | P3 | Resolved | Fixed | b02 |
JDK-8246428 | 13.0.4 | Jie Fu | P3 | Resolved | Fixed | b04 |
JDK-8239227 | 11.0.8-oracle | Jie Fu | P3 | Resolved | Fixed | b01 |
JDK-8240478 | 11.0.8 | Jie Fu | P3 | Resolved | Fixed | b01 |
```
STDERR:
Error: VM option 'UseSwitchProfiling' is diagnostic and must be enabled via -XX:+UnlockDiagnosticVMOptions.
Error: The unlock option must precede 'UseSwitchProfiling'.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
```
## Fix
```
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:01:21 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
*/
```
- backported by
-
JDK-8237232 [TESTBUG] compiler/c2/TestJumpTable.java fails with release VMs
-
- Resolved
-
-
JDK-8237687 [TESTBUG] compiler/c2/TestJumpTable.java fails with release VMs
-
- Resolved
-
-
JDK-8238141 [TESTBUG] compiler/c2/TestJumpTable.java fails with release VMs
-
- Resolved
-
-
JDK-8239227 [TESTBUG] compiler/c2/TestJumpTable.java fails with release VMs
-
- Resolved
-
-
JDK-8240478 [TESTBUG] compiler/c2/TestJumpTable.java fails with release VMs
-
- Resolved
-
-
JDK-8246428 [TESTBUG] compiler/c2/TestJumpTable.java fails with release VMs
-
- Resolved
-
- relates to
-
JDK-8229855 C2 fails with assert(false) failed: bad AD file
-
- Resolved
-