| Index: src/heap/heap.cc
|
| diff --git a/src/heap/heap.cc b/src/heap/heap.cc
|
| index 1b0ab092f04da91374cb07f7d8b46da18aa75e49..054ebced2a899ff2d20941a4d4b76638de122f8a 100644
|
| --- a/src/heap/heap.cc
|
| +++ b/src/heap/heap.cc
|
| @@ -736,8 +736,9 @@ void Heap::HandleGCRequest() {
|
| return;
|
| }
|
| DCHECK(FLAG_overapproximate_weak_closure);
|
| - DCHECK(!incremental_marking()->weak_closure_was_overapproximated());
|
| - OverApproximateWeakClosure("GC interrupt");
|
| + if (!incremental_marking()->weak_closure_was_overapproximated()) {
|
| + OverApproximateWeakClosure("GC interrupt");
|
| + }
|
| }
|
|
|
|
|
|
|