Rewrite CPOWs to use one actor per process (bug 853209, r=billm,bholley,smaug).
This commit is contained in:
@@ -464,7 +464,9 @@ CycleCollectedJSRuntime::CycleCollectedJSRuntime(uint32_t aMaxbytes,
|
||||
MOZ_CRASH();
|
||||
}
|
||||
|
||||
JS_SetExtraGCRootsTracer(mJSRuntime, TraceBlackJS, this);
|
||||
if (!JS_AddExtraGCRootsTracer(mJSRuntime, TraceBlackJS, this)) {
|
||||
MOZ_CRASH();
|
||||
}
|
||||
JS_SetGrayGCRootsTracer(mJSRuntime, TraceGrayJS, this);
|
||||
|
||||
mJSHolders.Init(512);
|
||||
|
||||
Reference in New Issue
Block a user