DescriptionCache function templates in PluginObject to avoid memory leak.
Without caching, each call to PluginObject::GetPropertyOrMethod creates
a new function template. V8 stores all function templates internally
for the lifetime of the web-page.
BUG=439966
Committed: https://crrev.com/e85e45ea01bd4aeef48bf991012b198f7316470c
Cr-Commit-Position: refs/heads/master@{#307691}
Patch Set 1 #Patch Set 2 : Rebase #
Messages
Total messages: 14 (6 generated)
|