Powered By Blogger

Monday, April 16, 2012

MAT Usage

Dominator Tree
Inspector
attributes


Dominator Tree arranged based on Retain Size
Expand that it will show all the references
Java collections - Hash Entries

DOminator Tree can be grouped by Class
List Objects : Lists all the instances of the at class.

Object values will be shown.
show retained set : It shows responsible objects which keeps in memory.
It shows the class which users


Java collections : collections by size
It shows how memory used.

_____________________________________________________

Histogram

We can filter by regex.

Merger shortest path : checks who retains the objects. this
will help in analysing why this object is retained.

We can keep expanding tree.
We can see the value of primitive types

__________________________________________________


Java Collections
Group by value.
Helps in recognising string values.

Group by size : if the hashmap size is zero then we can remove that.

Use dominator.
__________________________

OQL : similar to SQL
Adhoc questions of jvm can be answered.

No comments:

Post a Comment