Test gc/parallel/TestPrintGCDetailsVerbose.java failed
with
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x000000010a2e62c9, pid=86471, tid=20739
#
# JRE version: Java(TM) SE Runtime Environment (12.0+7) (fastdebug build 12-ea+7)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 12-ea+7, mixed mode, tiered, compressed oops, parallel gc, bsd-amd64)
# Problematic frame:
# V [libjvm.dylib+0x38c2c9] CodeCache::verify_icholder_relocations()+0x73
#
# Core dump will be written. Default location: /cores/core.86471
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
--------------- T H R E A D ---------------
Current thread (0x00007ff8eb001000): VMThread "VM Thread" [stack: 0x0000700005b94000,0x0000700005c94000] [id=20739]
Stack: [0x0000700005b94000,0x0000700005c94000], sp=0x0000700005c93350, free space=1020k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.dylib+0x38c2c9] CodeCache::verify_icholder_relocations()+0x73
V [libjvm.dylib+0x38b8cf] CodeCache::do_unloading_nmethod_caches(bool)+0xe1
V [libjvm.dylib+0x38b7e3] CodeCache::do_unloading(BoolObjectClosure*, bool)+0x65
V [libjvm.dylib+0xaa7b9f] PSParallelCompact::marking_phase(ParCompactionManager*, bool, ParallelOldTracer*)+0x801
V [libjvm.dylib+0xaa6ad7] PSParallelCompact::invoke_no_policy(bool)+0x453
V [libjvm.dylib+0xab38ec] PSScavenge::invoke()+0x1ee
V [libjvm.dylib+0xa5c3f2] ParallelScavengeHeap::failed_mem_allocate(unsigned long)+0x1a2
V [libjvm.dylib+0xc5f724] VM_ParallelGCFailedAllocation::doit()+0x56
V [libjvm.dylib+0xc914d7] VM_Operation::evaluate()+0x10f
V [libjvm.dylib+0xc901e3] VMThread::evaluate_operation(VM_Operation*)+0x11b
V [libjvm.dylib+0xc8fb35] VMThread::loop()+0x17d
V [libjvm.dylib+0xc8f880] VMThread::run()+0xce
V [libjvm.dylib+0xa2f694] thread_native_entry(Thread*)+0x145
C [libsystem_pthread.dylib+0x3661] _pthread_body+0x154
C [libsystem_pthread.dylib+0x350d] _pthread_body+0x0
C [libsystem_pthread.dylib+0x2bf9] thread_start+0xd
with
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x000000010a2e62c9, pid=86471, tid=20739
#
# JRE version: Java(TM) SE Runtime Environment (12.0+7) (fastdebug build 12-ea+7)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 12-ea+7, mixed mode, tiered, compressed oops, parallel gc, bsd-amd64)
# Problematic frame:
# V [libjvm.dylib+0x38c2c9] CodeCache::verify_icholder_relocations()+0x73
#
# Core dump will be written. Default location: /cores/core.86471
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
--------------- T H R E A D ---------------
Current thread (0x00007ff8eb001000): VMThread "VM Thread" [stack: 0x0000700005b94000,0x0000700005c94000] [id=20739]
Stack: [0x0000700005b94000,0x0000700005c94000], sp=0x0000700005c93350, free space=1020k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.dylib+0x38c2c9] CodeCache::verify_icholder_relocations()+0x73
V [libjvm.dylib+0x38b8cf] CodeCache::do_unloading_nmethod_caches(bool)+0xe1
V [libjvm.dylib+0x38b7e3] CodeCache::do_unloading(BoolObjectClosure*, bool)+0x65
V [libjvm.dylib+0xaa7b9f] PSParallelCompact::marking_phase(ParCompactionManager*, bool, ParallelOldTracer*)+0x801
V [libjvm.dylib+0xaa6ad7] PSParallelCompact::invoke_no_policy(bool)+0x453
V [libjvm.dylib+0xab38ec] PSScavenge::invoke()+0x1ee
V [libjvm.dylib+0xa5c3f2] ParallelScavengeHeap::failed_mem_allocate(unsigned long)+0x1a2
V [libjvm.dylib+0xc5f724] VM_ParallelGCFailedAllocation::doit()+0x56
V [libjvm.dylib+0xc914d7] VM_Operation::evaluate()+0x10f
V [libjvm.dylib+0xc901e3] VMThread::evaluate_operation(VM_Operation*)+0x11b
V [libjvm.dylib+0xc8fb35] VMThread::loop()+0x17d
V [libjvm.dylib+0xc8f880] VMThread::run()+0xce
V [libjvm.dylib+0xa2f694] thread_native_entry(Thread*)+0x145
C [libsystem_pthread.dylib+0x3661] _pthread_body+0x154
C [libsystem_pthread.dylib+0x350d] _pthread_body+0x0
C [libsystem_pthread.dylib+0x2bf9] thread_start+0xd
- duplicates
-
JDK-8209670 CompilerThread releasing code buffer in destructor is unsafe
- Resolved