Dirk Lemmermann
@dlemmermann.bsky.social
JavaFX Fan Boy. Java Champion. Java One Rockstar. Open Source Contributor. Freelancer. Consultant. Speaker. Entrepreneur.
Reposted by Dirk Lemmermann
This looks so neat that I’m tempted to just invent a use case for it
October 26, 2025 at 11:46 AM
This looks so neat that I’m tempted to just invent a use case for it
When I see that a view did to get garbage collected I launch VisualVM (visualvm.github.io), search for the JMemoryBuddyLive instance (in the heapdump) with the uncollected view, click on the "referent" and open the "GC Root" view. That tells me what is still holding a reference to the view.
October 20, 2025 at 12:04 PM
When I see that a view did to get garbage collected I launch VisualVM (visualvm.github.io), search for the JMemoryBuddyLive instance (in the heapdump) with the uncollected view, click on the "referent" and open the "GC Root" view. That tells me what is still holding a reference to the view.