Bug 1376891 - Support idle runnable for nursery collection. r=jonco, r=smaug

This commit is contained in:
Chia-Hung Duan
2017-10-30 18:07:42 +08:00
parent 3b72d358fb
commit 00ea51de91
8 changed files with 97 additions and 1 deletions

View File

@@ -510,6 +510,7 @@ CycleCollectedJSRuntime::CycleCollectedJSRuntime(JSContext* aCx)
: mGCThingCycleCollectorGlobal(sGCThingCycleCollectorGlobal)
, mJSZoneCycleCollectorGlobal(sJSZoneCycleCollectorGlobal)
, mJSRuntime(JS_GetRuntime(aCx))
, mHasPendingIdleGCTask(false)
, mPrevGCSliceCallback(nullptr)
, mPrevGCNurseryCollectionCallback(nullptr)
, mJSHolderMap(256)