See bug description.
BUG=chromium:536231
LOG=N
Review URL: https://codereview.chromium.org/
1378693002
Cr-Commit-Position: refs/heads/master@{#31012}
void Isolate::ReportExternalAllocationLimitReached() {
i::Heap* heap = reinterpret_cast<i::Isolate*>(this)->heap();
- DCHECK_EQ(heap->gc_state(), i::Heap::NOT_IN_GC);
+ if (heap->gc_state() != i::Heap::NOT_IN_GC) return;
heap->ReportExternalMemoryPressure(
"external memory allocation limit reached.");
}