Revision f230a1cf deps/v8/src/incremental-marking.cc
deps/v8/src/incremental-marking.cc | ||
---|---|---|
648 | 648 |
IncrementalMarkingRootMarkingVisitor visitor(this); |
649 | 649 |
heap_->IterateStrongRoots(&visitor, VISIT_ONLY_STRONG); |
650 | 650 |
|
651 |
heap_->mark_compact_collector()->MarkWeakObjectToCodeTable(); |
|
652 |
|
|
651 | 653 |
// Ready to start incremental marking. |
652 | 654 |
if (FLAG_trace_incremental_marking) { |
653 | 655 |
PrintF("[IncrementalMarking] Running\n"); |
... | ... | |
726 | 728 |
IncrementalMarkingMarkingVisitor::IterateBody(map, obj); |
727 | 729 |
|
728 | 730 |
MarkBit mark_bit = Marking::MarkBitFrom(obj); |
729 |
#ifdef DEBUG
|
|
731 |
#if ENABLE_SLOW_ASSERTS
|
|
730 | 732 |
MemoryChunk* chunk = MemoryChunk::FromAddress(obj->address()); |
731 | 733 |
SLOW_ASSERT(Marking::IsGrey(mark_bit) || |
732 | 734 |
(obj->IsFiller() && Marking::IsWhite(mark_bit)) || |
Also available in: Unified diff