Bug 1130226 - Fix splay performance by continuing to pass the context to GC on a CLOSED TREE; r=sfink, a=KWierso

This commit is contained in:
Terrence Cole 2015-02-10 15:26:55 -08:00
parent 536a625ce9
commit 84f37fc977

View File

@ -450,7 +450,7 @@ CheckAllocatorState(ExclusiveContext *cx, AllocKind kind)
if (rt->hasPendingInterrupt()) {
// Invoking the interrupt callback can fail and we can't usefully
// handle that here. Just check in case we need to collect instead.
rt->gc.gcIfRequested();
rt->gc.gcIfRequested(ncx);
}
}