Don't DCHECK that the weak closure wasn't yet overapproximated

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}
This commit is contained in:
jochen 2015-03-20 03:17:31 -07:00 committed by Commit bot
parent 16ff37db4a
commit 877c99f781

View File

@ -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");
}
}