-
Bug
-
Resolution: Fixed
-
P4
-
8
-
master
java -XX:NMethodSizeLimit=100 -version
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/open/src/hotspot/share/asm/codeBuffer.hpp:202), pid=1872518, tid=1872537
# assert(allocates2(pc)) failed: not in CodeBuffer memory: 0x0000794733c29de0 <= 0x0000794733c29e22 <= 0x0000794733c29e20
#
# JRE version: Java(TM) SE Runtime Environment (25.0+26) (fastdebug build 25-ea+26-LTS-3300)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 25-ea+26-LTS-3300, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x6d63d0] AbstractAssembler::emit_int24(int, int, int) [clone .isra.0]+0x160
Stack: [0x000079470b100000,0x000079470b200000], sp=0x000079470b1fdae8, free space=1014k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x6d63d0] AbstractAssembler::emit_int24(int, int, int) [clone .isra.0]+0x160 (codeBuffer.hpp:202)
V [libjvm.so+0x6d8773] Assembler::emit_operand_helper(int, int, int, Address::ScaleFactor, int, RelocationHolder const&, int)+0x3f3
V [libjvm.so+0x6d8e2a] Assembler::emit_operand(Register, Register, Register, Address::ScaleFactor, int, RelocationHolder const&, int) [clone .constprop.0
]+0x6a
V [libjvm.so+0x77d073] Assembler::movq(Address, Register)+0xf3
V [libjvm.so+0x1590aa6] MacroAssembler::save_legacy_gprs()+0x2b6
V [libjvm.so+0x908a1b] C1_MacroAssembler::save_live_registers_no_oop_map(bool)+0x3b
V [libjvm.so+0x90b1e1] Runtime1::generate_code_for(C1StubId, StubAssembler*)+0x841
V [libjvm.so+0x8faff1] Runtime1::generate_blob(BufferBlob*, C1StubId, char const*, bool, StubAssemblerCodeGenClosure*) [clone .part.0]+0x1f1
V [libjvm.so+0x8fb86d] Runtime1::generate_blob_for(BufferBlob*, C1StubId)+0x11d
V [libjvm.so+0x8fb8d2] Runtime1::initialize(BufferBlob*)+0x32
V [libjvm.so+0x81d6bd] Compiler::init_c1_runtime()+0x3d
V [libjvm.so+0x81d823] Compiler::initialize()+0x83
V [libjvm.so+0xb2fb05] CompileBroker::init_compiler_runtime()+0x155
V [libjvm.so+0xb38cd7] CompileBroker::compiler_thread_loop()+0x167
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/open/src/hotspot/share/asm/codeBuffer.hpp:202), pid=1872518, tid=1872537
# assert(allocates2(pc)) failed: not in CodeBuffer memory: 0x0000794733c29de0 <= 0x0000794733c29e22 <= 0x0000794733c29e20
#
# JRE version: Java(TM) SE Runtime Environment (25.0+26) (fastdebug build 25-ea+26-LTS-3300)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 25-ea+26-LTS-3300, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x6d63d0] AbstractAssembler::emit_int24(int, int, int) [clone .isra.0]+0x160
Stack: [0x000079470b100000,0x000079470b200000], sp=0x000079470b1fdae8, free space=1014k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x6d63d0] AbstractAssembler::emit_int24(int, int, int) [clone .isra.0]+0x160 (codeBuffer.hpp:202)
V [libjvm.so+0x6d8773] Assembler::emit_operand_helper(int, int, int, Address::ScaleFactor, int, RelocationHolder const&, int)+0x3f3
V [libjvm.so+0x6d8e2a] Assembler::emit_operand(Register, Register, Register, Address::ScaleFactor, int, RelocationHolder const&, int) [clone .constprop.0
]+0x6a
V [libjvm.so+0x77d073] Assembler::movq(Address, Register)+0xf3
V [libjvm.so+0x1590aa6] MacroAssembler::save_legacy_gprs()+0x2b6
V [libjvm.so+0x908a1b] C1_MacroAssembler::save_live_registers_no_oop_map(bool)+0x3b
V [libjvm.so+0x90b1e1] Runtime1::generate_code_for(C1StubId, StubAssembler*)+0x841
V [libjvm.so+0x8faff1] Runtime1::generate_blob(BufferBlob*, C1StubId, char const*, bool, StubAssemblerCodeGenClosure*) [clone .part.0]+0x1f1
V [libjvm.so+0x8fb86d] Runtime1::generate_blob_for(BufferBlob*, C1StubId)+0x11d
V [libjvm.so+0x8fb8d2] Runtime1::initialize(BufferBlob*)+0x32
V [libjvm.so+0x81d6bd] Compiler::init_c1_runtime()+0x3d
V [libjvm.so+0x81d823] Compiler::initialize()+0x83
V [libjvm.so+0xb2fb05] CompileBroker::init_compiler_runtime()+0x155
V [libjvm.so+0xb38cd7] CompileBroker::compiler_thread_loop()+0x167
- relates to
-
JDK-8316653 Large NMethodSizeLimit triggers assert during C1 code buffer allocation
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk/a6464b74
-
Review(master) openjdk/jdk/25876