-
Bug
-
Resolution: Unresolved
-
P4
-
repo-valhalla
Happens intermittently with TestValueClasses.java and our compiler stress job running with '-XX:Tier0BackedgeNotifyFreqLog=0 -XX:Tier2BackedgeNotifyFreqLog=0 -XX:Tier3BackedgeNotifyFreqLog=0 -XX:Tier2BackEdgeThreshold=1 -XX:Tier3BackEdgeThreshold=1 -XX:Tier4BackEdgeThreshold=1 -Xbatch'
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/workspace/open/src/hotspot/share/compiler/compilationMemoryStatistic.cpp:935), pid=1352101, tid=1352118
# fatal error: c2 (2254) compiler/lib/ir_framework/test/TestVM::checkAnnotationsInClass((Ljava/lang/Class;Ljava/lang/String;)V): Hit MemLimit - limit: 1073741824 now: 1073761184
#
# JRE version: Java(TM) SE Runtime Environment (25.0) (fastdebug build 25-lworld5ea-LTS-2025-09-03-1302536.marc.chevalier.jdk)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 25-lworld5ea-LTS-2025-09-03-1302536.marc.chevalier.jdk, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to /opt/mach5/mesos/work_dir/slaves/7b1a61fd-59de-400e-939e-76c8ba818320-S39834/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4098acb7-c4e2-4eda-a921-b76bc9b28f25/runs/4d1e2ea3-5361-4773-9d4c-fe1916624f56/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_valhalla/scratch/0/core.1352101)
Current CompileTask:
C2:115052 2254 b 4 compiler.lib.ir_framework.test.TestVM::checkAnnotationsInClass (172 bytes)
Stack: [0x00007f980c3df000,0x00007f980c4df000], sp=0x00007f980c4d9e00, free space=1003k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x1c7ed93] VMError::report(outputStream*, bool)+0x2f93 (compilationMemoryStatistic.cpp:935)
V [libjvm.so+0x1c82803] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void const*, void const*, char const*, int, unsigned long)+0x5a3 (vmError.cpp:1846)
V [libjvm.so+0xc42edb] report_fatal(VMErrorType, char const*, int, char const*, ...)+0x10b (debug.cpp:223)
V [libjvm.so+0xb44c7f] CompilationMemoryStatistic::on_arena_chunk_allocation(unsigned long, int, unsigned long*)+0x6ef (compilationMemoryStatistic.cpp:935)
V [libjvm.so+0x6d5cd6] ChunkPool::allocate_chunk(Arena*, unsigned long, AllocFailStrategy::AllocFailEnum)+0x166 (arena.cpp:196)
V [libjvm.so+0x6d6b34] Arena::grow(unsigned long, AllocFailStrategy::AllocFailEnum)+0x74 (arena.cpp:330)
V [libjvm.so+0x101aead] PhaseIFG::add_edge(unsigned int, unsigned int)+0x26d (arena.hpp:153)
V [libjvm.so+0x101b0ed] PhaseChaitin::interfere_with_live(unsigned int, IndexSet*) [clone .part.0]+0x21d (ifg.cpp:301)
V [libjvm.so+0x10231ad] PhaseChaitin::build_ifg_physical(ResourceArea*)+0x8ad (ifg.cpp:293)
V [libjvm.so+0xa10013] PhaseChaitin::Register_Allocate()+0x9e3 (chaitin.cpp:597)
V [libjvm.so+0xb726a1] Compile::Code_Gen()+0x731 (compile.cpp:3574)
V [libjvm.so+0xb77ecb] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x215b (compile.cpp:925)
V [libjvm.so+0x98b134] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x484 (c2compiler.cpp:143)
V [libjvm.so+0xb85b68] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xb58 (compileBroker.cpp:2298)
V [libjvm.so+0xb86d28] CompileBroker::compiler_thread_loop()+0x568 (compileBroker.cpp:1942)
V [libjvm.so+0x1100dcb] JavaThread::thread_main_inner()+0x13b (javaThread.cpp:773)
V [libjvm.so+0x1b8b626] Thread::call_run()+0xb6 (thread.cpp:243)
V [libjvm.so+0x17eef58] thread_native_entry(Thread*)+0x128 (os_linux.cpp:869)
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/workspace/open/src/hotspot/share/compiler/compilationMemoryStatistic.cpp:935), pid=1352101, tid=1352118
# fatal error: c2 (2254) compiler/lib/ir_framework/test/TestVM::checkAnnotationsInClass((Ljava/lang/Class;Ljava/lang/String;)V): Hit MemLimit - limit: 1073741824 now: 1073761184
#
# JRE version: Java(TM) SE Runtime Environment (25.0) (fastdebug build 25-lworld5ea-LTS-2025-09-03-1302536.marc.chevalier.jdk)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 25-lworld5ea-LTS-2025-09-03-1302536.marc.chevalier.jdk, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to /opt/mach5/mesos/work_dir/slaves/7b1a61fd-59de-400e-939e-76c8ba818320-S39834/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4098acb7-c4e2-4eda-a921-b76bc9b28f25/runs/4d1e2ea3-5361-4773-9d4c-fe1916624f56/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_valhalla/scratch/0/core.1352101)
Current CompileTask:
C2:115052 2254 b 4 compiler.lib.ir_framework.test.TestVM::checkAnnotationsInClass (172 bytes)
Stack: [0x00007f980c3df000,0x00007f980c4df000], sp=0x00007f980c4d9e00, free space=1003k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x1c7ed93] VMError::report(outputStream*, bool)+0x2f93 (compilationMemoryStatistic.cpp:935)
V [libjvm.so+0x1c82803] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void const*, void const*, char const*, int, unsigned long)+0x5a3 (vmError.cpp:1846)
V [libjvm.so+0xc42edb] report_fatal(VMErrorType, char const*, int, char const*, ...)+0x10b (debug.cpp:223)
V [libjvm.so+0xb44c7f] CompilationMemoryStatistic::on_arena_chunk_allocation(unsigned long, int, unsigned long*)+0x6ef (compilationMemoryStatistic.cpp:935)
V [libjvm.so+0x6d5cd6] ChunkPool::allocate_chunk(Arena*, unsigned long, AllocFailStrategy::AllocFailEnum)+0x166 (arena.cpp:196)
V [libjvm.so+0x6d6b34] Arena::grow(unsigned long, AllocFailStrategy::AllocFailEnum)+0x74 (arena.cpp:330)
V [libjvm.so+0x101aead] PhaseIFG::add_edge(unsigned int, unsigned int)+0x26d (arena.hpp:153)
V [libjvm.so+0x101b0ed] PhaseChaitin::interfere_with_live(unsigned int, IndexSet*) [clone .part.0]+0x21d (ifg.cpp:301)
V [libjvm.so+0x10231ad] PhaseChaitin::build_ifg_physical(ResourceArea*)+0x8ad (ifg.cpp:293)
V [libjvm.so+0xa10013] PhaseChaitin::Register_Allocate()+0x9e3 (chaitin.cpp:597)
V [libjvm.so+0xb726a1] Compile::Code_Gen()+0x731 (compile.cpp:3574)
V [libjvm.so+0xb77ecb] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x215b (compile.cpp:925)
V [libjvm.so+0x98b134] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x484 (c2compiler.cpp:143)
V [libjvm.so+0xb85b68] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xb58 (compileBroker.cpp:2298)
V [libjvm.so+0xb86d28] CompileBroker::compiler_thread_loop()+0x568 (compileBroker.cpp:1942)
V [libjvm.so+0x1100dcb] JavaThread::thread_main_inner()+0x13b (javaThread.cpp:773)
V [libjvm.so+0x1b8b626] Thread::call_run()+0xb6 (thread.cpp:243)
V [libjvm.so+0x17eef58] thread_native_entry(Thread*)+0x128 (os_linux.cpp:869)
- is blocked by
-
JDK-8337821 C2: Hit MemLimit in PhaseChaitin::Split in VectorReplicateLongSpecialImmTest.java
-
- Open
-