forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds code_and_metadata_size statistics when collecting v8 heap statis…
…tics. To measure the overall size of code along with its metadata, we add a new category called code_and_metadata_size. This data is collected by scanning the heap for code/bytecode objects. V8 exposes an explicit API to obtain this data. It should be used with caution as it could be slow. It involves scanning the heap to collect this data. This data is collected only when memory-infra.v8.code_stats is enabled. BUG=v8:4280 LOG=N Review-Url: https://codereview.chromium.org/1929523002 Cr-Commit-Position: refs/heads/master@{#397706}
- Loading branch information
1 parent
7985b74
commit 3554066
Showing
1 changed file
with
46 additions
and
1 deletion.
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