From e9bde4476cccd0eebc5ec3d4544c874b3d8cc82e Mon Sep 17 00:00:00 2001 From: Bill McCloskey Date: Sun, 10 Jun 2012 21:28:05 -0700 Subject: [PATCH] Bug 761739 - Make timer-triggered GCs be incremental (r=smaug) --- dom/base/nsJSEnvironment.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/base/nsJSEnvironment.cpp b/dom/base/nsJSEnvironment.cpp index 8f0c103e9a2a..7259ba903201 100644 --- a/dom/base/nsJSEnvironment.cpp +++ b/dom/base/nsJSEnvironment.cpp @@ -3105,7 +3105,7 @@ GCTimerFired(nsITimer *aTimer, void *aClosure) uintptr_t reason = reinterpret_cast(aClosure); nsJSContext::GarbageCollectNow(static_cast(reason), - nsGCNormal, false); + nsGCIncremental, false); } void