mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18:39 +09:00
I might revert this depending what it does on outside Android in memory usage since its Android relevant.
1397864, put back the higher GC budget when GC is triggered by a timer
This commit is contained in:
parent
fa9a1402d5
commit
5893bbe274
1 changed files with 1 additions and 1 deletions
|
|
@ -1818,7 +1818,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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue