-
Notifications
You must be signed in to change notification settings - Fork 478
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix several problems in heap snapshot Statistics perspective
1. The category named "Typed arrays" does include the backing storage of typed arrays, but also includes a bunch of other stuff. This change limits the "Typed arrays" category to just ArrayBuffer storage. 2. The category named "System" represents objects that are unreachable from user roots. However, the word "(system)" is used in the Summary perspective to represent objects of type 'hidden', which are V8 engine internals that haven't been categorized in a more meaningful way. It's confusing to use the same word for two different things, and I've heard from several developers that they don't trust the memory tools when they see values that don't match but seem like they should. This change updates the "System" category to mean the same as "(system)" in the Summary perspective. 3. The current categories in the Statistics perspective don't account for every byte of the snapshot, meaning part of the pie chart is left blank. Developers who see this often think that the tool is broken. This change introduces two new catch-all categories for the rest of the V8 heap and the rest of the Blink/Oilpan/embedder heap. Bug: 40659523, 388997090 Change-Id: Ib234ee1d6cbaae3ad37716823eefdc4a15550c3f Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6172391 Reviewed-by: Simon Zünd <[email protected]> Commit-Queue: Simon Zünd <[email protected]>
- Loading branch information
1 parent
5627f32
commit 5ea99ca
Showing
4 changed files
with
72 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters