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.
Primitive values in HPROF format heap dumps
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Primitive values in HPROF format heap dumps
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
Instead, use EAP builds which already contain the fix:
http://www.yourkit.com/eap
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Primitive values in HPROF format heap dumps
An update: we've released 12.0.6 too.
-
- Posts: 2
- Joined: Tue Aug 13, 2013 1:44 pm
Re: Primitive values in HPROF format heap dumps
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
-
- Posts: 9
- Joined: Tue Aug 23, 2005 5:21 pm
Re: Primitive values in HPROF format heap dumps
I have seen the same problem in YourKit 2013 Build 13066. Not sure whether it has been really fixed.
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Primitive values in HPROF format heap dumps
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.
-
- Posts: 9
- Joined: Tue Aug 23, 2005 5:21 pm
Re: Primitive values in HPROF format heap dumps
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.
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Primitive values in HPROF format heap dumps
Without your dump we can't solve the problem, because we can't reproduce it.