| Index: src/heap.cc
|
| diff --git a/src/heap.cc b/src/heap.cc
|
| index 2924a08190e0d9beca87dc0d14f5594a0d1a0e62..0c0feab40cbc29c287cce0b4bbb6323c05a9e5d3 100644
|
| --- a/src/heap.cc
|
| +++ b/src/heap.cc
|
| @@ -650,7 +650,10 @@ void Heap::ClearJSFunctionResultCaches() {
|
|
|
|
|
| void Heap::ClearNormalizedMapCaches() {
|
| - if (isolate_->bootstrapper()->IsActive()) return;
|
| + if (isolate_->bootstrapper()->IsActive() &&
|
| + !incremental_marking()->IsMarking()) {
|
| + return;
|
| + }
|
|
|
| Object* context = global_contexts_list_;
|
| while (!context->IsUndefined()) {
|
|
|