-
Bug
-
Resolution: Fixed
-
P3
-
25
-
b11
-
x86
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8369231 | 25.0.2 | Srinivas Parasa | P3 | Resolved | Fixed | b01 |
Running the HotSpot jtreg test test/hotspot/jtreg/compiler/c2/TestLWLockingCodeGen.java on x86_64 SDE emulator with Intel APX enabled triggers an assertion failure in methodHandles_x86.cpp.
The failure occurs because the assembler emits a short forward jump (imm8 displacement) whose target is more than 127 bytes away, exceeding the allowed range. This appears to be caused by larger stub code size when APX instruction encoding is enabled.
Error Message: # Internal Error (src/hotspot/cpu/x86/methodHandles_x86.cpp:140)
# guarantee(this->is8bit(imm8)) failed: Short forward jump exceeds 8-bit offset
The failure occurs because the assembler emits a short forward jump (imm8 displacement) whose target is more than 127 bytes away, exceeding the allowed range. This appears to be caused by larger stub code size when APX instruction encoding is enabled.
Error Message: # Internal Error (src/hotspot/cpu/x86/methodHandles_x86.cpp:140)
# guarantee(this->is8bit(imm8)) failed: Short forward jump exceeds 8-bit offset
- backported by
-
JDK-8369231 x86 short forward jump exceeds 8-bit offset in methodHandles_x86.cpp when using Intel APX
-
- Resolved
-
- caused by
-
JDK-8349582 APX NDD code generation for OpenJDK
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk25u/ee6a0405
-
Commit(master) openjdk/jdk/38a26141
-
Review(master) openjdk/jdk25u/261
-
Review(master) openjdk/jdk/26731
(1 links to)