Relates :
|
The tracing support in HotSpot should include events to get statistics for the contents of the heap. It should be possible to use these events to create a summary showing how much of the heap is occupied by each class present on the heap. For performance reasons it may be necessary to have a cut off point at some low percentage and skip classes that only occupies a small fragment of the heap. If possible, an "other classes" kind of event could be sent with the total space occupied by these classes.