* SUMMARY Prefer retained size to the shallow size in Heap Snapshot data grids. • The self size of an instance is its own size. • The retained size of an instance is all of the memory that is retained by the object. - if the object were deleted, this would be the entire amount of memory freed - this includes: - size size - any dependent objects, owned exclusively by this instance Currently the data grid shows all Arrays as having the same, 16 byte self size. That isn't very useful as some Arrays exclusively hold onto other objects and thus should be treated as larger. Retained size is exactly the value we want here.
<rdar://problem/25225087>
Created attachment 274327 [details] [PATCH] Proposed Fix
Created attachment 274329 [details] [IMAGE] Example 1
Created attachment 274330 [details] [IMAGE] Example 2
Comment on attachment 274327 [details] [PATCH] Proposed Fix Clearing flags on attachment: 274327 Committed r198358: <http://trac.webkit.org/changeset/198358>
All reviewed patches have been landed. Closing bug.