Bug 924443 - Remove waitBackgroundSweepOrAllocEnd() call from JS_IterateCompartments. r=billm

This commit is contained in:
Andrew McCreight 2013-10-08 09:36:43 -07:00
parent 8c33b91b8c
commit c3302080df

View File

@ -105,7 +105,6 @@ JS_IterateCompartments(JSRuntime *rt, void *data,
JS_ASSERT(!rt->isHeapBusy());
AutoTraceSession session(rt);
rt->gcHelperThread.waitBackgroundSweepOrAllocEnd();
for (CompartmentsIter c(rt); !c.done(); c.next())
(*compartmentCallback)(rt, data, c);