previous      content      next
Merged paths

'Merged paths' view is a tool for examining how objects are retained. It is especially useful for analyzing objects of classes with a great number of instances, such as int[], java.lang.String etc.

'Merged paths' is similar to 'Paths from GC roots' view; however, it shows not paths through individual objects, but paths from multiple objects grouped by class.

For example, see the picture below. The 'Merged paths' view shows that the memory held by int[] instances is mostly retained by VelocityCharStream instances, which are in turn retained by Parser and ParserTokenManager.

previous      content      next