зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1689394 - Increase idle time nursery collection timeout to make it less agressive r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D106127
This commit is contained in:
Родитель
f91de4d0cc
Коммит
6d59bf19ea
|
@ -401,7 +401,7 @@ typedef enum JSGCParamKey {
|
|||
* JS::RunIdleTimeGCTask will collect the nursery if it hasn't been collected
|
||||
* in this many milliseconds.
|
||||
*
|
||||
* Default: 2000
|
||||
* Default: 5000
|
||||
* Pref: None
|
||||
*/
|
||||
JSGC_NURSERY_TIMEOUT_FOR_IDLE_COLLECTION_MS = 46,
|
||||
|
|
|
@ -414,7 +414,7 @@ static const double NurseryFreeThresholdForIdleCollectionFraction = 0.25;
|
|||
|
||||
/* JSGC_NURSERY_TIMEOUT_FOR_IDLE_COLLECTION_MS */
|
||||
static const TimeDuration NurseryTimeoutForIdleCollection =
|
||||
TimeDuration::FromSeconds(2.0);
|
||||
TimeDuration::FromSeconds(5.0);
|
||||
|
||||
/* JSGC_PRETENURE_THRESHOLD */
|
||||
static const double PretenureThreshold = 0.6;
|
||||
|
|
Загрузка…
Ссылка в новой задаче