An Object becomes
unreachable when they don’t have any inbound references or when they become
unreachable from any other root.
By default
unreachable objects are removed from the heap dump which parsing and will not
appear in the class histogram. We can still see the unreachable objects in
Eclipse Memory analyzer.
1. From the link on the Overview page
2. From the Query Browser via Java Basics --> Unreachable
Objects Histogram
This histogram
has no object graph behind it (since they don’t have any in bound references).
No comments :
Post a Comment