Feature: decoding of serialized data in byte[] instances

Questions about YourKit Java Profiler
Post Reply
plethora
Posts: 314
Joined: Thu Jun 02, 2005 8:36 pm

Feature: decoding of serialized data in byte[] instances

Post by plethora »

In some heap dumps, a fair amount of the retained data is in the form of Java serialized objects.
Examples would be distributed cache/execution frameworks.

Being able to get some idea of the actual contents of such blobs would be a nice feature.
It would be a convenient if YK would offer the option to (try to) convert a byte[] to a textual representation of the serialized contents.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Feature: decoding of serialized data in byte[] instances

Post by Anton Katilin »

Thank you for the suggestion. I've added a feature request for the next major version.

As a workaround, you can try using the "Export bytes to binary file" link available in Quick info for byte[], then feed the result to a standalone tool for parsing serialized objects. I'm not sure such tool exists, but perhaps it's easy to write one.
Post Reply