Chromium Code Reviews
DescriptionRewrite extensions console to not leak function templates.
With this CL, an ObjectTemplate is properly cached in the PerIsolateData, and
the templates for each function are only constructed once. For simplicity, the
level is stored in the function data (rather than a function), which removes
the need to have those functions out-of-line and should reduce both code and
V8 heap size (since small integers don't need a heap allocation).
BUG=696748
Review-Url: https://codereview.chromium.org/2718133003
Cr-Commit-Position: refs/heads/master@{#453399}
Committed: https://chromium.googlesource.com/chromium/src/+/b1ad11a47382c78676e8bc71a6201d47309a6b23
Patch Set 1 #Patch Set 2 : revert needless variable name change #Patch Set 3 : . #
Total comments: 4
Patch Set 4 : devlin #
Messages
Total messages: 22 (17 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||