Bug 728547 - Increase the forgetSkippable timer value, r=mccr8
authorOlli Pettay <Olli.Pettay@helsinki.fi>
Sun, 19 Feb 2012 20:36:06 +0200
changeset 90037 24f2c7e26fbddeccd7790fa38eef086acc89b33c
parent 90036 f4010ca5f049f3dd50d9117079a89490ca13af05
child 90038 561771f018817fe409df25af244a45cb5e81a32d
push idunknown
push userunknown
push dateunknown
reviewersmccr8
bugs728547
milestone13.0a1
Bug 728547 - Increase the forgetSkippable timer value, r=mccr8
dom/base/nsJSEnvironment.cpp
--- a/dom/base/nsJSEnvironment.cpp
+++ b/dom/base/nsJSEnvironment.cpp
@@ -135,19 +135,19 @@ static PRLogModuleInfo* gJSDiagnostics;
 // doing the first GC.
 #define NS_FIRST_GC_DELAY           10000 // ms
 
 // Maximum amount of time that should elapse between incremental GC slices
 #define NS_INTERSLICE_GC_DELAY      100 // ms
 
 // The amount of time we wait between a request to CC (after GC ran)
 // and doing the actual CC.
-#define NS_CC_DELAY                 5000 // ms
-
-#define NS_CC_SKIPPABLE_DELAY       250 // ms
+#define NS_CC_DELAY                 6000 // ms
+
+#define NS_CC_SKIPPABLE_DELAY       400 // ms
 
 #define NS_CC_FORCED                (5 * 60 * PR_USEC_PER_SEC) // 5 min
 
 #define JAVASCRIPT nsIProgrammingLanguage::JAVASCRIPT
 
 // if you add statics here, add them to the list in nsJSRuntime::Startup
 
 static nsITimer *sGCTimer;