JVM crash in PSParallelCompact::IsAliveClosure::do_object_b

Solution Unverified - Updated -

Issue

JVM crashes with these native frames in hs_err_pid log file:

Stack: [0x00007fc990d6b000,0x00007fc990e6c000],  sp=0x00007fc990e6a160,  free space=1020k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x979a86]  PSParallelCompact::IsAliveClosure::do_object_b(oopDesc*)+0x36
V  [libjvm.so+0x8b910c]  MethodData::clean_extra_data(BoolObjectClosure*)+0x1dc
V  [libjvm.so+0x63bbb2]  InstanceKlass::clean_method_data(BoolObjectClosure*)+0x42
V  [libjvm.so+0x7c6db9]  Klass::clean_weak_klass_links(BoolObjectClosure*, bool)+0x199
V  [libjvm.so+0x97b881]  PSParallelCompact::marking_phase(ParCompactionManager*, bool, ParallelOldTracer*)+0x4e1
V  [libjvm.so+0x9809ee]  PSParallelCompact::invoke_no_policy(bool)+0x40e
V  [libjvm.so+0x9868cd]  PSScavenge::invoke()+0x1ad
V  [libjvm.so+0x93e500]  ParallelScavengeHeap::failed_mem_allocate(unsigned long)+0x70
V  [libjvm.so+0xabb437]  VM_ParallelGCFailedAllocation::doit()+0x97
V  [libjvm.so+0xac2e65]  VM_Operation::evaluate()+0x55
V  [libjvm.so+0xac123a]  VMThread::evaluate_operation(VM_Operation*)+0xba
V  [libjvm.so+0xac15be]  VMThread::loop()+0x1ce
V  [libjvm.so+0xac1a30]  VMThread::run()+0x70
V  [libjvm.so+0x91cc68]  java_start(Thread*)+0x108

VM_Operation (0x00007fc92e9f2d80): ParallelGCFailedAllocation, mode: safepoint, requested by thread 0x00007fc988006000

Environment

  • OpenJDK
  • Oracle JDK

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content