Unable to extract usable hprof heap dump from core file with Java 8

Basil Crow me at basilcrow.com
Mon Apr 18 18:33:19 UTC 2016


Hi all,

I posted a message a few months ago entitled "Unable to create hprof
heap dump from core file with jmap on Oracle Solaris" [1] to describe
my difficulties creating a usable hprof heap dump from a core file
with jmap with Java 8. Despite the fact that JDK-8044416 has been
resolved, the problem still exists and has been reported by more
users. While JDK-8044416 putatively fixed the issue by getting rid of
the exception when invoking jmap, an hprof heap dump generated from a
core file with Java 8 is still unusable in any of the major analysis
tools. See Eclipse bugs 471757 [2] and 476262 [3] for details
regarding Eclipse MAT in particular. I have also been unable to
analyze an hprof heap dump generated this way in VisualVM. A user on
Stack Overflow reports the same issue with YourKit [4]. The users
mentioned above have reported this issue with core files generated on
Linux, Windows, and Oracle Solaris -- and using Java 8 Update 60 or
above, where this is supposed to be fixed. Clearly something is still
not working as expected. Could we please get an update on when this
issue will be resolved and how to track progress?

Thanks,
Basil

[1] http://mail.openjdk.java.net/pipermail/serviceability-dev/2015-August/017765.html
[2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=471757
[3] https://bugs.eclipse.org/bugs/show_bug.cgi?id=476262
[4] https://stackoverflow.com/questions/34719148/mat-cant-open-the-dump-file


More information about the serviceability-dev mailing list