Primitive values in HPROF format heap dumps

Questions about YourKit Java Profiler
Post Reply
primus
Posts: 2
Joined: Tue Aug 13, 2013 1:44 pm

Primitive values in HPROF format heap dumps

Post by primus »

Hello,

I've been using YourKit for quite some time now and I've managed to make do without this useful feature until now. I've looked over the documentation and I cannot seem to find how to properly display primitive values in YourKit. I've loaded tens of heap dumps and I cannot see correct primitive values, yet in VisualVM for example, they are correctly displayed. Also YourKit format dumps are showing fine primitive values when loaded. Here are some details:

YourKit Java Profiler 12.0.5
Heap dumps in HPROF format generated either with jmap or automatically on OOM
Oracle Java 1.6.0_29->43 (different versions)
Always chose 'Compressed OOPS' when asked

While I was writing this I've searched also some details on 'Full OOPS' and when I've checked (although as documentation says, those heaps should be dumped with compressed OOPS), it turns out primitive values are displayed correctly. I've also came across this topic: http://forums.yourkit.com/viewtopic.php?f=3&t=4707 and it seems like I've been having the same problem.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Primitive values in HPROF format heap dumps

Post by Anton Katilin »

This bug is fixed in 12.0.6. It has not been released yet.

Instead, use EAP builds which already contain the fix:
http://www.yourkit.com/eap
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Primitive values in HPROF format heap dumps

Post by Anton Katilin »

An update: we've released 12.0.6 too.
primus
Posts: 2
Joined: Tue Aug 13, 2013 1:44 pm

Re: Primitive values in HPROF format heap dumps

Post by primus »

I saw in that other topic that it would be fixed in 12.0.6 so as soon as the version became available I've downloaded and checked - I confirm that it works properly. Thank you very much :)
test1
Posts: 9
Joined: Tue Aug 23, 2005 5:21 pm

Re: Primitive values in HPROF format heap dumps

Post by test1 »

I have seen the same problem in YourKit 2013 Build 13066. Not sure whether it has been really fixed.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Primitive values in HPROF format heap dumps

Post by Anton Katilin »

It has been fixed. What you see must be a different issue. Could you please upload the problematic snapshot to Dropbox or similar service and provide the download URL.
test1
Posts: 9
Joined: Tue Aug 23, 2005 5:21 pm

Re: Primitive values in HPROF format heap dumps

Post by test1 »

It is exactly the same as what I saw in YourKit 11. Any large log file with compressed oops will have this problem. Sorry that I can't upload any large hprof to demontrate the problem.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Primitive values in HPROF format heap dumps

Post by Anton Katilin »

Without your dump we can't solve the problem, because we can't reproduce it.
Post Reply