United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7110428 Crash during HeapDump operation
JDK-7110428 : Crash during HeapDump operation

Details
Type:
Bug
Submit Date:
2011-11-10
Status:
Closed
Updated Date:
2013-04-20
Project Name:
JDK
Resolved Date:
2011-11-18
Component:
hotspot
OS:
linux
Sub-Component:
runtime
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
hs21
Fixed Versions:
hs22 (b10)

Related Reports
Backport:
Backport:
Backport:
Backport:

Sub Tasks

Description
Heap Dumping crashes with Parallel GC with the following stack trace:

0x00002ab8f4682ab0 in JVM_handle_linux_signal ()
 <signal handler called>
 0x00002ab8f4439d76 in DumperSupport::dump_field_value(DumpWriter*, char,unsigned char*) ()  
 0x00002ab8f443a07d in DumperSupport::dump_instance_fields(DumpWriter*,oopDesc*) ()  
 0x00002ab8f443d9db in DumperSupport::dump_instance(DumpWriter*, oopDesc*) ()
 0x00002ab8f443dbd4 in HeapObjectDumper::do_object(oopDesc*) ()
 0x00002ab8f4646e24 in MutableSpace::object_iterate(ObjectClosure*) ()
 0x00002ab8f46e00a0 in PSYoungGen::object_iterate(ObjectClosure*) ()  
 0x00002ab8f4697fa8 in ParallelScavengeHeap::object_iterate(ObjectClosure*)()
 0x00002ab8f443e768 in VM_HeapDumper::doit() ()
 0x00002ab8f47da85c in VM_Operation::evaluate() ()  
 0x00002ab8f47d9340 in VMThread::evaluate_operation(VM_Operation*) ()  
 0x00002ab8f47d9881 in VMThread::loop() ()  
 0x00002ab8f47d9f00 in VMThread::run() ()  
 0x00002ab8f46804b0 in java_start(Thread*) ()  
 0x0000003c070064a7 in start_thread ()
 0x0000003c064d3c2d in clone ()

                                    

Comments
EVALUATION

In VM_HeapDumper::doit(), ensure_parsability() should always be called whether or not a GC is requested before heap dumping.
                                     
2011-11-11
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/2ceafe3ceb65
                                     
2011-11-17
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-emb/hotspot/rev/2ceafe3ceb65
                                     
2011-11-29
EVALUATION

http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/2ceafe3ceb65
                                     
2012-03-22



Hardware and Software, Engineered to Work Together