|Indicating how old an object is [message #1691505]
||Tue, 07 April 2015 16:33
| Mark Robbins
Registered: April 2015
Is there any way that the MAT can indicate how old an object is?
Alternatively is there a way that the MAT can identify which area the object is in if the gencon policy is in use (e.g. nursery or tenured)?
sometimes there are large numbers of class instances in memory if there has been a bad memory leak.
I cross reference with application logs to try to identify likely events that generated the objects. It would help if there were some indicators about how old an object is so I can rule out very recent events.
I'm guessing from other conversations that the JVM doesn't store the creation time with the object and just stores some kind of number indicating how many cycles the object has survived.
[Updated on: Mon, 13 April 2015 16:17]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01357 seconds