DescriptionIntroduce object visitor to estimate the size of a native context.
This is only an estimate since it counts objects that could be shared,
for example strings, cow arrays, heap numbers, etc.
It however ignores objects that could be shared, but may only be used
by the context to be measured, for example shared function infos,
script objects, scope infos, etc.
R=jochen@chromium.org
Committed: https://crrev.com/0a1a714f7e700b3d882e3485008fa5a24cf80584
Cr-Commit-Position: refs/heads/master@{#30029}
Patch Set 1 #
Total comments: 2
Patch Set 2 : addressed comments #Patch Set 3 : use size_t #Patch Set 4 : fix compare #
Messages
Total messages: 22 (7 generated)
|