mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-22 23:27:30 +09:00
Increase purple limit triggers for CC.
Making these much larger to allow more purple buffer buildup and prevent overzealous cycle collection on purple buffer pressure.
This commit is contained in:
parent
39d5eb7759
commit
6cba36850f
1 changed files with 2 additions and 2 deletions
|
|
@ -126,13 +126,13 @@ static const uint32_t kMaxICCDuration = 2000; // ms
|
||||||
// Force a CC after this long if there's more than NS_CC_FORCED_PURPLE_LIMIT
|
// Force a CC after this long if there's more than NS_CC_FORCED_PURPLE_LIMIT
|
||||||
// objects in the purple buffer.
|
// objects in the purple buffer.
|
||||||
#define NS_CC_FORCED (2 * 60 * PR_USEC_PER_SEC) // 2 min
|
#define NS_CC_FORCED (2 * 60 * PR_USEC_PER_SEC) // 2 min
|
||||||
#define NS_CC_FORCED_PURPLE_LIMIT 10
|
#define NS_CC_FORCED_PURPLE_LIMIT 100
|
||||||
|
|
||||||
// Don't allow an incremental GC to lock out the CC for too long.
|
// Don't allow an incremental GC to lock out the CC for too long.
|
||||||
#define NS_MAX_CC_LOCKEDOUT_TIME (30 * PR_USEC_PER_SEC) // 30 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.
|
// Trigger a CC if the purple buffer exceeds this size when we check it.
|
||||||
#define NS_CC_PURPLE_LIMIT 200
|
#define NS_CC_PURPLE_LIMIT 2000
|
||||||
|
|
||||||
// Large value used to specify that a script should run essentially forever
|
// Large value used to specify that a script should run essentially forever
|
||||||
#define NS_UNLIMITED_SCRIPT_RUNTIME (0x40000000LL << 32)
|
#define NS_UNLIMITED_SCRIPT_RUNTIME (0x40000000LL << 32)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue