Bug 1420538 - Bailout from triggerZoneGC when the heap is busy r=jonco

--HG--
extra : rebase_source : 2b6640538f03608758f70355c82c6a42534ba148
This commit is contained in:
Paul Bone 2017-12-01 12:06:57 +11:00
Родитель 05e371c3e3
Коммит 38acddb74b
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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