зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1158569 - Don't trigger sweeping of dead type information when scanning unboxed objects in minor GCs, r=terrence.
This commit is contained in:
Родитель
ee02850388
Коммит
1db59c7ba1
|
@ -550,7 +550,7 @@ js::Nursery::traceObject(MinorCollectionTracer* trc, JSObject* obj)
|
|||
JSObject** pexpando = obj->as<UnboxedPlainObject>().addressOfExpando();
|
||||
if (*pexpando)
|
||||
markObject(trc, pexpando);
|
||||
const UnboxedLayout& layout = obj->as<UnboxedPlainObject>().layout();
|
||||
const UnboxedLayout& layout = obj->as<UnboxedPlainObject>().layoutDontCheckGeneration();
|
||||
if (layout.traceList()) {
|
||||
markTraceList(trc, layout.traceList(),
|
||||
obj->as<UnboxedPlainObject>().data());
|
||||
|
|
Загрузка…
Ссылка в новой задаче