зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1420538 - Bailout from triggerZoneGC when the heap is busy r=jonco
--HG-- extra : rebase_source : 2b6640538f03608758f70355c82c6a42534ba148
This commit is contained in:
Родитель
05e371c3e3
Коммит
38acddb74b
|
@ -3275,7 +3275,7 @@ GCRuntime::triggerZoneGC(Zone* zone, JS::gcreason::Reason reason, size_t used, s
|
|||
MOZ_ASSERT(CurrentThreadCanAccessRuntime(rt));
|
||||
|
||||
/* GC is already running. */
|
||||
if (JS::CurrentThreadIsHeapCollecting())
|
||||
if (JS::CurrentThreadIsHeapBusy())
|
||||
return false;
|
||||
|
||||
#ifdef JS_GC_ZEAL
|
||||
|
|
Загрузка…
Ссылка в новой задаче