-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P4
-
Affects Version/s: repo-valhalla
-
Component/s: hotspot
Let's increase the MemLimit for
compiler/valhalla/inlinetypes/TestLWorld.java
until JDK-8337821 is fixed. We've seen it fail with #id0, 3, 5 and 6 so far.
This is seen, for example with the additional flags -DExcludeRandom=true -DGCAfter=true:
Current CompileTask:
C2:127628 1892 b 4 compiler.valhalla.inlinetypes.TestLWorld$Value178::toString (48 bytes)
Stack: [0x0000ffff731ac000,0x0000ffff733aa000], sp=0x0000ffff733a4830, free space=2018k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x1aa7d44] VMError::report(outputStream*, bool)+0x3164 (compilationMemoryStatistic.cpp:935)
V [libjvm.so+0x1aabbcc] VMError::report_and_die(int, char const*, char const*, std::__va_list, Thread*, unsigned char*, void const*, void const*, char const*, int, unsigned long)+0x4dc (vmError.cpp:1888)
V [libjvm.so+0xb15010] report_fatal(VMErrorType, char const*, int, char const*, ...)+0xf0 (debug.cpp:228)
V [libjvm.so+0xa12b30] CompilationMemoryStatistic::on_arena_chunk_allocation(unsigned long, int, unsigned long*)+0x630 (compilationMemoryStatistic.cpp:935)
V [libjvm.so+0x6883bc] ChunkPool::allocate_chunk(Arena*, unsigned long, AllocFailStrategy::AllocFailEnum)+0x13c (arena.cpp:203)
V [libjvm.so+0x6897e4] Arena::grow(unsigned long, AllocFailStrategy::AllocFailEnum)+0x84 (arena.cpp:337)
V [libjvm.so+0x1783e44] PhaseChaitin::Split(unsigned int, ResourceArea*)+0x424 (resourceArea.inline.hpp:36)
V [libjvm.so+0x8d00b8] PhaseChaitin::Register_Allocate()+0x7cc (chaitin.cpp:582)
V [libjvm.so+0xa43114] Compile::Code_Gen()+0x58c (compile.cpp:3716)
V [libjvm.so+0xa47420] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x15d4 (compile.cpp:929)
V [libjvm.so+0x845f34] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x2f0 (c2compiler.cpp:150)
V [libjvm.so+0xa56208] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xae4 (compileBroker.cpp:2345)
V [libjvm.so+0xa571b8] CompileBroker::compiler_thread_loop()+0x638 (compileBroker.cpp:1989)
V [libjvm.so+0xfc79c8] JavaThread::thread_main_inner()+0x108 (javaThread.cpp:777)
V [libjvm.so+0x19af6ac] Thread::call_run()+0xac (thread.cpp:243)
V [libjvm.so+0x16437cc] thread_native_entry(Thread*)+0x11c (os_linux.cpp:929)
C [libc.so.6+0x89a88] start_thread+0x388
compiler/valhalla/inlinetypes/TestLWorld.java
until JDK-8337821 is fixed. We've seen it fail with #id0, 3, 5 and 6 so far.
This is seen, for example with the additional flags -DExcludeRandom=true -DGCAfter=true:
Current CompileTask:
C2:127628 1892 b 4 compiler.valhalla.inlinetypes.TestLWorld$Value178::toString (48 bytes)
Stack: [0x0000ffff731ac000,0x0000ffff733aa000], sp=0x0000ffff733a4830, free space=2018k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x1aa7d44] VMError::report(outputStream*, bool)+0x3164 (compilationMemoryStatistic.cpp:935)
V [libjvm.so+0x1aabbcc] VMError::report_and_die(int, char const*, char const*, std::__va_list, Thread*, unsigned char*, void const*, void const*, char const*, int, unsigned long)+0x4dc (vmError.cpp:1888)
V [libjvm.so+0xb15010] report_fatal(VMErrorType, char const*, int, char const*, ...)+0xf0 (debug.cpp:228)
V [libjvm.so+0xa12b30] CompilationMemoryStatistic::on_arena_chunk_allocation(unsigned long, int, unsigned long*)+0x630 (compilationMemoryStatistic.cpp:935)
V [libjvm.so+0x6883bc] ChunkPool::allocate_chunk(Arena*, unsigned long, AllocFailStrategy::AllocFailEnum)+0x13c (arena.cpp:203)
V [libjvm.so+0x6897e4] Arena::grow(unsigned long, AllocFailStrategy::AllocFailEnum)+0x84 (arena.cpp:337)
V [libjvm.so+0x1783e44] PhaseChaitin::Split(unsigned int, ResourceArea*)+0x424 (resourceArea.inline.hpp:36)
V [libjvm.so+0x8d00b8] PhaseChaitin::Register_Allocate()+0x7cc (chaitin.cpp:582)
V [libjvm.so+0xa43114] Compile::Code_Gen()+0x58c (compile.cpp:3716)
V [libjvm.so+0xa47420] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x15d4 (compile.cpp:929)
V [libjvm.so+0x845f34] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x2f0 (c2compiler.cpp:150)
V [libjvm.so+0xa56208] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xae4 (compileBroker.cpp:2345)
V [libjvm.so+0xa571b8] CompileBroker::compiler_thread_loop()+0x638 (compileBroker.cpp:1989)
V [libjvm.so+0xfc79c8] JavaThread::thread_main_inner()+0x108 (javaThread.cpp:777)
V [libjvm.so+0x19af6ac] Thread::call_run()+0xac (thread.cpp:243)
V [libjvm.so+0x16437cc] thread_native_entry(Thread*)+0x11c (os_linux.cpp:929)
C [libc.so.6+0x89a88] start_thread+0x388
- relates to
-
JDK-8378328 [lworld] Remove temporary MemLimit for compiler/valhalla/inlinetypes/TestLWorld.java once JDK-8337821 is fixed
-
- Open
-
-
JDK-8337821 C2: Hit MemLimit in PhaseChaitin::Split in VectorReplicateLongSpecialImmTest.java
-
- Open
-
- links to
-
Review(lworld)
openjdk/valhalla/2148