зеркало из https://github.com/mozilla/gecko-dev.git
bug 1397864, put back the higher GC budget when GC is triggered by a timer, r=mccr8
This commit is contained in:
Родитель
62e34c73d8
Коммит
13af66d6f4
|
@ -1788,7 +1788,7 @@ InterSliceGCRunnerFired(TimeStamp aDeadline, void* aData)
|
|||
// to run since that means we may have significant amount garbage to collect
|
||||
// and better to GC in several longer slices than in a very long one.
|
||||
int64_t budget = aDeadline.IsNull() ?
|
||||
int64_t(sActiveIntersliceGCBudget) :
|
||||
int64_t(sActiveIntersliceGCBudget * 2) :
|
||||
int64_t((aDeadline - TimeStamp::Now()).ToMilliseconds());
|
||||
if (sCCLockedOut && sCCLockedOutTime) {
|
||||
int64_t lockedTime = PR_Now() - sCCLockedOutTime;
|
||||
|
|
Загрузка…
Ссылка в новой задаче