Chromium Code Reviews| Index: src/mark-compact-inl.h |
| diff --git a/src/mark-compact-inl.h b/src/mark-compact-inl.h |
| index fd25a403cae2d131a753bc22ff58276ab2053004..65ab311fdf753324bdacf4f2d890aa70e28c3ad5 100644 |
| --- a/src/mark-compact-inl.h |
| +++ b/src/mark-compact-inl.h |
| @@ -47,6 +47,9 @@ MarkBit Marking::MarkBitFrom(Address addr) { |
| void MarkCompactCollector::SetFlags(int flags) { |
| sweep_precisely_ = ((flags & Heap::kMakeHeapIterableMask) != 0); |
| reduce_memory_footprint_ = ((flags & Heap::kReduceMemoryFootprintMask) != 0); |
| + // Precise sweeping requires us to abort any incremental marking as well. |
| + abort_incremental_marking_ = ((flags & (Heap::kAbortIncrementalMarkingMask | |
| + Heap::kMakeHeapIterableMask)) != 0); |
|
ulan
2012/03/07 17:22:26
If kMakeHeapIterableMask implies abort_incremental
Michael Starzinger
2012/03/07 17:50:38
Done.
|
| } |