Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 311209

Summary: medic: cannot dump heap in all build/runtime environments
Product: [RT] Virgo Reporter: Steve Powell <zteve.powell>
Component: unknownAssignee: Project Inbox <virgo-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: glyn.normington, hsiliev
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Steve Powell CLA 2010-04-30 12:35:57 EDT
HeapDumpContributor in org.eclipse.virgo.dump.impl fails to dump the heap in all jvms.
Consider extensing the jvms supported.
Comment 1 Hristo Iliev CLA 2010-12-21 09:51:42 EST
Steve provided more details. I will summarize our conversation:

Tested on IBM jvm. Probably any non-sun jvm will cause the dump heap to fail (including OpenJDK?)

Currently the "sun.management.ManagementFactory" is used hard-coded and obtained 'by name' so the code does not compile with a specific JVM stuff.

The target is to be able to dump heaps on a "generic" JVM.