Description[api] Introduce fast instantiations cache
This CL introduces a new fast flat instantiations cache for the first 1024 object templates.
After that we fall back to the existing slower dictionary cache.
Drive-by-fix: de-handlify and clean up some code in api-natives.cc
BUG=chromium:630217
Committed: https://crrev.com/f3f738fe8e670f95e003656f671f18c6095533cc
Cr-Commit-Position: refs/heads/master@{#38146}
Patch Set 1 #Patch Set 2 : fixing tests #Patch Set 3 : adding growing fixedarray cache #Patch Set 4 : improving api object instantiation #Patch Set 5 : fixes #Patch Set 6 : respect the context #Patch Set 7 : updated test expectations #Patch Set 8 : rebasing #Patch Set 9 : removing accidental changes #Patch Set 10 : fixing uint issue under windows #
Total comments: 2
Messages
Total messages: 45 (33 generated)
|