зеркало из https://github.com/mozilla/gecko-dev.git
Bug 950006 - Don't skip zeal GCs if allocating without the possibility of GC r=billm
This commit is contained in:
Родитель
38771ca378
Коммит
89289ffa66
|
@ -434,7 +434,7 @@ NewGCThing(ThreadSafeContext *cx, AllocKind kind, size_t thingSize, InitialHeap
|
|||
JS_OOM_POSSIBLY_FAIL_REPORT(ncx);
|
||||
|
||||
#ifdef JS_GC_ZEAL
|
||||
if (rt->needZealousGC() && allowGC)
|
||||
if (allowGC && rt->needZealousGC())
|
||||
js::gc::RunDebugGC(ncx);
|
||||
#endif
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче