DescriptionLet V8 know about the external memory owned by large StaticNodeList
If a script allocates many large but short-lived StaticNodeList objects,
for instance by using querySelectorAll() in an inefficient way, memory
usage will balloon since V8's garbage collector won't realize that much
memory owned by it is being allocated, and thus doesn't run its GC.
Reporting external allocated memory to V8 is unnecessary overhead for
small objects, so only do it for objects larger than a limit.
BUG=342752
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166937
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|