Backout 483210d830f0 (bug 984537) for memory regressions.

This commit is contained in:
Brian Hackett 2014-05-05 11:06:36 -07:00
Родитель 82879f1da2
Коммит 55db699953
3 изменённых файлов: 0 добавлений и 18 удалений

Просмотреть файл

@ -1238,14 +1238,6 @@ MarkJitActivations(JSRuntime *rt, JSTracer *trc)
MarkJitActivation(trc, activations);
}
JSCompartment *
TopmostJitActivationCompartment(JSRuntime *rt)
{
for (JitActivationIterator activations(rt); !activations.done(); ++activations)
return activations.activation()->compartment();
return nullptr;
}
#ifdef JSGC_GENERATIONAL
void
UpdateJitActivationsForMinorGC(JSRuntime *rt, JSTracer *trc)

Просмотреть файл

@ -268,9 +268,6 @@ void EnsureExitFrame(IonCommonFrameLayout *frame);
void MarkJitActivations(JSRuntime *rt, JSTracer *trc);
void MarkIonCompilerRoots(JSTracer *trc);
JSCompartment *
TopmostJitActivationCompartment(JSRuntime *rt);
#ifdef JSGC_GENERATIONAL
void UpdateJitActivationsForMinorGC(JSRuntime *rt, JSTracer *trc);
#endif

Просмотреть файл

@ -2852,13 +2852,6 @@ BeginMarkPhase(JSRuntime *rt)
c->zone()->setPreservingCode(true);
}
if (!rt->gc.shouldCleanUpEverything) {
#ifdef JS_ION
if (JSCompartment *comp = jit::TopmostJitActivationCompartment(rt))
comp->zone()->setPreservingCode(true);
#endif
}
/*
* Atoms are not in the cross-compartment map. So if there are any
* zones that are not being collected, we are not allowed to collect