Description[elements] Precisely estimate elements size as last resort
In case of an allocation failure in for-in over holey elements, use precise
number of elements to allocate a smaller buffer for the collected indices.
Drive-by-fix: make is_the_hole accept the isolate for faster checks.
BUG=chromium:609761
Committed: https://crrev.com/14c6a651d1c04c90379299e577dd8e187967f5a9
Cr-Commit-Position: refs/heads/master@{#41010}
Patch Set 1 #
Total comments: 3
Patch Set 2 : addressing nits #Patch Set 3 : merging in master #Patch Set 4 : fixing compilation issues #Patch Set 5 : merging with master #Patch Set 6 : only use precise elements estimation in case of failing allocation #Patch Set 7 : add missing method on string wrapper #
Messages
Total messages: 30 (17 generated)
|