Skip to content

Commit

Permalink
Don't DCHECK that the weak closure wasn't yet overapproximated
Browse files Browse the repository at this point in the history
Maybe it was overapproximated via the idle notification already, so just
don't retry in that case

BUG=chromium:469023
R=hpayer@chromium.org
LOG=n

Review URL: https://codereview.chromium.org/1025603003

Cr-Commit-Position: refs/heads/master@{#27335}
  • Loading branch information
jeisinger authored and Commit bot committed Mar 20, 2015
1 parent 16ff37d commit 877c99f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/heap/heap.cc
Expand Up @@ -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");
}
}


Expand Down

0 comments on commit 877c99f

Please sign in to comment.