[Webkit-unassigned] [Bug 163151] Web Inspector: Heap Snapshot should be able to tell me if an object was collected
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Oct 11 16:01:26 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=163151
--- Comment #7 from Geoffrey Garen <ggaren at apple.com> ---
> Showing the dead objects in the tree was very distracting though, since we
> couldn't preview what they were. On even a small page, there could be
> hundreds of objects cluttering the object graphs.
Perhaps we could fix this by making live vs dead an option. I can imagine situations where I would want to focus on one or the other.
Another option would be to snapshot object previews at snapshot time. So, if an object had properties { A, B } at snapshot time, and then acquired a property C => { A, B, C }, the snapshot would still show { A, B }.
Some of this goes to the question of what "snapshot" means. Something that updates over time is not a snapshot -- so it may be a misleading word for our current feature. Our current feature is a bag of objects that grows or shrinks as those objects acquire properties or die.
> Would it help to have a live and dead memory total, but only have the tree
> show the live objects?
Yeah, that might help. It might also help to groups dead objects into some more compact form that doesn't clutter the UI, but still indicates that a bunch of your snapped objects die.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161011/3e001c79/attachment.html>
More information about the webkit-unassigned
mailing list