DescriptionAdds support for collecting statistics about code and its metadata.
Adds an API to request the total size of code/bytecode and their associated
metadata in the heap. When requested, the code_space, old_space and
large_object_space is scanned to find any code/bytecode array objects.
This could be slow and hence it should be used with caution.
BUG=v8:5019
LOG=N
Committed: https://crrev.com/c1af2821eaf8333ea2af8f121bd69c9701d8ae65
Cr-Commit-Position: refs/heads/master@{#36534}
Patch Set 1 #Patch Set 2 : Fixed a bug. #Patch Set 3 : Fixed a compile time error on the windows bots. #
Total comments: 8
Patch Set 4 : Addressed comments from Ross. Removes the flag code_and_metadata_stats #
Total comments: 4
Patch Set 5 : Addressed comments from Hannes. #
Messages
Total messages: 27 (12 generated)
|