mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 16:58:38 +09:00
Revert "Revert "Attempting add CC delay to scheduler.""
This reverts commit 1e0c11e56ecce4c557162b4834cb8f99593ae0a0.
This commit is contained in:
parent
af77524275
commit
92ada0f207
1 changed files with 5 additions and 0 deletions
|
|
@ -151,6 +151,9 @@ TriggerGCSlice(uint32_t aCurrentID, void* aData);
|
|||
static SATSState
|
||||
TriggerFullGC(uint32_t aCurrentID, void* aData);
|
||||
|
||||
static SATSState
|
||||
CCDelay(uint32_t aCurrentID, void* aData);
|
||||
|
||||
static SATSState
|
||||
ShrinkGCBuffers(uint32_t aCurrentID, void* aData);
|
||||
|
||||
|
|
@ -174,6 +177,7 @@ public:
|
|||
eFullGC,
|
||||
eShrinkingGC,
|
||||
eForgetSkippable,
|
||||
eCCDelay,
|
||||
eCCSlice,
|
||||
eNone
|
||||
};
|
||||
|
|
@ -186,6 +190,7 @@ static DependentSlowTask sMainThreadCollectorScheduling[]
|
|||
{ CollectorSchedule::eVariableScheduledGC, 0, TriggerGCOrGCSlice },
|
||||
{ CollectorSchedule::eGCSlice, 100, TriggerGCSlice },
|
||||
{ CollectorSchedule::eFullGC, 60000, TriggerFullGC },
|
||||
{ CollectorSchedule::eCCDelay, 20000, CCDelay },
|
||||
{ CollectorSchedule::eShrinkingGC, 300000, TriggerShrinkingGC },
|
||||
{ CollectorSchedule::eForgetSkippable, 250, TriggerForgetSkippable },
|
||||
{ CollectorSchedule::eCCSlice, 32, TriggerICCSlice },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue