DescriptionFix Heap::IsHeapIterable.
We only consider heap iterable if the new space is empty (in addition to the exisiting old space check).
The change also moves the iterability forcing + allocation prevention gadgets to HeapIterator so that it is impossible to miss them when iterating the heap.
R=hpayer@chromium.org
BUG=373283
LOG=N
Committed: https://code.google.com/p/v8/source/detail?r=21387
Patch Set 1 #
Total comments: 6
Patch Set 2 : Rename EnsureHeapIsIterable => MakeHeapIterable #
Total comments: 2
Patch Set 3 : Fold no-allocation and iterable checks/calls into HeapIterator #Patch Set 4 : Fix object size precision test #
Total comments: 1
Patch Set 5 : Cleanup #
Messages
Total messages: 7 (0 generated)
|