зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1350844 - Don't add dead proxy zone edges for zones which are not being collected r=sfink a=abillings
This commit is contained in:
Родитель
5a0d815ca0
Коммит
3905bf8fc4
|
@ -4511,7 +4511,10 @@ JSCompartment::findDeadProxyZoneEdges(bool* foundAny)
|
|||
if (IsDeadProxyObject(&value.toObject())) {
|
||||
*foundAny = true;
|
||||
CrossCompartmentKey& key = e.front().mutableKey();
|
||||
if (!key.as<JSObject*>()->zone()->gcSweepGroupEdges().put(zone()))
|
||||
Zone* wrapperZone = key.as<JSObject*>()->zone();
|
||||
if (!wrapperZone->isGCMarking())
|
||||
continue;
|
||||
if (!wrapperZone->gcSweepGroupEdges().put(zone()))
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче