Bug 311209 - medic: cannot dump heap in all build/runtime environments
Summary: medic: cannot dump heap in all build/runtime environments
Status: NEW
Alias: None
Product: Virgo
Classification: RT
Component: unknown (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-30 12:35 EDT by Steve Powell CLA
Modified: 2010-12-21 09:51 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.