Bug 84347 - Web Inspector / Heap snapshots: "Objects allocated ..." views are empty
Summary: Web Inspector / Heap snapshots: "Objects allocated ..." views are empty
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Ilya Tikhonovsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-19 07:56 PDT by Marja Hölttä
Modified: 2012-04-19 11:38 PDT (History)
11 users (show)

See Also:


Attachments
Patch (3.42 KB, patch)
2012-04-19 11:32 PDT, Yury Semikhatsky
pfeldman: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marja Hölttä 2012-04-19 07:56:01 PDT
The bug appears both in chromium trunk build (chromium r132979, WebKit r114621) and in Google Chrome 20.0.1105.0 dev.

To reproduce:
1. Navigate to a page using JS. A static page with no interactions will do.
2. Take 3 heap snapshots.
3. Select snapshot 3, and display "Objects allocated before Snapshot 1".

The view is empty. It should contain the same objects as snapshot 1. (Nothing was disposed.)

Alternatively, use a page, and do something that allocates new objects between the snapshots. Then the "Objects allocated between snapshots 1 and 2" and "Objects allocated between snapshots 2 and 3" views should also be nonempty, but they are empty, too.
Comment 1 Yury Semikhatsky 2012-04-19 11:32:14 PDT
Created attachment 137933 [details]
Patch
Comment 2 Yury Semikhatsky 2012-04-19 11:38:53 PDT
Committed r114658: <http://trac.webkit.org/changeset/114658>