Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: Tool in Observatory that helps to find the root object that holds back an instance from GC #29562

Open
MikeMitterer opened this issue May 4, 2017 · 1 comment

Comments

@MikeMitterer
Copy link

The following SS shows a class that has two instances but should have only one. I cant figure out why the first instance gets not garbage collected. I fiddled around now for several hours, questions on Gitter but no chance...
It's nearly impossible that all those "from" entries are holding a reference to this particular object.

capturfiles-20170504_061623

@MichaelRFairhurst
Copy link
Contributor

In addition to the issue I filed before, looks like two things are confusing:

  • the confusing bit is word [ 3 ] of Context (2). Not a very intuitive description.
  • the list format that makes it look like a set of inbound references rather than a reference of a reference of a reference.

regarding the latter, even I'm not entirely sure if I understand the misunderstanding right. maybe it would be better to use the inboundReferences UI than the list format.

regarding the former, maybe it would be better to show "variable [ 3 ] in Context of Closure". In fact, showing "var _context" is its own red herring...is there any way that it could show "var foo outside Closure" instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants