<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Web Inspector: Heap Snapshot should be able to tell me if an object was collected"
href="https://bugs.webkit.org/show_bug.cgi?id=163151#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Web Inspector: Heap Snapshot should be able to tell me if an object was collected"
href="https://bugs.webkit.org/show_bug.cgi?id=163151">bug 163151</a>
from <span class="vcard"><a class="email" href="mailto:joepeck@webkit.org" title="Joseph Pecoraro <joepeck@webkit.org>"> <span class="fn">Joseph Pecoraro</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=163151#c7">comment #7</a>)
<span class="quote">> > 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.</span >
Showing dead objects is a great feature and would not be hard to do. I think the most difficult part would be deciding how to approach this in the UI.
<span class="quote">> 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.</span >
The behaviors that exist right now are because the current feature is geared (and biased) toward investigating leaked / abandoned objects. "Snapshot" is accurate with respect to the references / relationships between objects. That relationship graph doesn't change, only our view of the objects inside it.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>