| Index: src/heap/heap.cc
|
| diff --git a/src/heap/heap.cc b/src/heap/heap.cc
|
| index 2bf98a857ec56003be304d07332f6d4c04283187..16d7f36c550f1e03109ea63e1bc53a376c279a14 100644
|
| --- a/src/heap/heap.cc
|
| +++ b/src/heap/heap.cc
|
| @@ -3200,16 +3200,6 @@ FixedArrayBase* Heap::LeftTrimFixedArray(FixedArrayBase* object,
|
| // we still do it.
|
| CreateFillerObjectAt(old_start, bytes_to_trim, ClearRecordedSlots::kYes);
|
|
|
| - // Clear the mark bits of the black area that belongs now to the filler.
|
| - // This is an optimization. The sweeper will release black fillers anyway.
|
| - if (incremental_marking()->black_allocation() &&
|
| - Marking::IsBlackOrGrey(ObjectMarking::MarkBitFrom(object))) {
|
| - Page* page = Page::FromAddress(old_start);
|
| - page->markbits()->ClearRange(
|
| - page->AddressToMarkbitIndex(old_start),
|
| - page->AddressToMarkbitIndex(old_start + bytes_to_trim));
|
| - }
|
| -
|
| // Initialize header of the trimmed array. Since left trimming is only
|
| // performed on pages which are not concurrently swept creating a filler
|
| // object does not require synchronization.
|
|
|