Wanted: Classes in the GC Roots Organized by Package
-
- Posts: 1
- Joined: Thu Aug 12, 2004 2:48 pm
Wanted: Classes in the GC Roots Organized by Package
I really like how you have organized the classes by package in the Live-Objects-Statistics viewer. It makes it easy to drill down only where you want to drill down. It keeps the view from being overwhelming. It would be helpful to group the classes by package in the GC Roots as well.
-
- Posts: 1626
- Joined: Tue Aug 10, 2004 7:52 pm
I think that the "GC Roots" views is almost useless. At least I do not see any real usecase how it could used for memory leak finding or any optimization. Actually it was implemented only for educational purposes. For example, to see how objects reference to each other, etc.I really like how you have organized the classes by package in the Live-Objects-Statistics viewer. It makes it easy to drill down only where you want to drill down. It keeps the view from being overwhelming. It would be helpful to group the classes by package in the GC Roots as well.
But it seems that UI for showing arbitrary set of objects (action F4 "View | Selection in New Tab") should be improved. Actually we are currently working on it. There will be following changes:
1. Objects will be groupped by classes.
2. It will be possible to open any number of object (currently only 500). Objects will be gropped by chunks
3. Objects will be sorted by their shallow size
4. It will be possible to see allocation hot spots for them
5. It will be possible to present them ala live-objects-statics, with groupping by packages and with retained size.