Bug 1207752 - Increase how long we let incremental GC run before forcing it to finish. r=smaug

Some users with many tabs have reported extremely long GC pauses
triggered by the CC forcing the GC to finish. Increasing the limit may
cause memory to be somewhat higher for these users, but that is better
than 30 second pauses.
This commit is contained in:
Andrew McCreight 2015-09-23 12:12:00 +02:00
parent 72895c72dd
commit 2e00ba83cd

View File

@ -128,7 +128,7 @@ static const uint32_t kMaxICCDuration = 2000; // ms
#define NS_CC_FORCED_PURPLE_LIMIT 10
// Don't allow an incremental GC to lock out the CC for too long.
#define NS_MAX_CC_LOCKEDOUT_TIME (15 * PR_USEC_PER_SEC) // 15 seconds
#define NS_MAX_CC_LOCKEDOUT_TIME (30 * PR_USEC_PER_SEC) // 30 seconds
// Trigger a CC if the purple buffer exceeds this size when we check it.
#define NS_CC_PURPLE_LIMIT 200