| Index: src/heap/heap.cc
|
| diff --git a/src/heap/heap.cc b/src/heap/heap.cc
|
| index ab82d2b74098fcabcb660a6cfa0c51f2185b837d..ce2940ac9261bb75307f431c226c57ffb45ea500 100644
|
| --- a/src/heap/heap.cc
|
| +++ b/src/heap/heap.cc
|
| @@ -3937,7 +3937,14 @@ AllocationResult Heap::AllocateRawFixedArray(int length,
|
| int size = FixedArray::SizeFor(length);
|
| AllocationSpace space = SelectSpace(pretenure);
|
|
|
| - return AllocateRaw(size, space);
|
| + AllocationResult result = AllocateRaw(size, space);
|
| + if (!result.IsRetry() && size > kMaxRegularHeapObjectSize &&
|
| + FLAG_use_marking_progress_bar) {
|
| + MemoryChunk* chunk =
|
| + MemoryChunk::FromAddress(result.ToObjectChecked()->address());
|
| + chunk->SetFlag(MemoryChunk::HAS_PROGRESS_BAR);
|
| + }
|
| + return result;
|
| }
|
|
|
|
|
|
|