Open
Bug 1330432
Opened 8 years ago
Updated 2 years ago
Add prefs to control worker GC timer intervals
Categories
(Core :: DOM: Workers, enhancement, P3)
Core
DOM: Workers
Tracking
()
NEW
People
(Reporter: bkelly, Unassigned)
Details
Attachments
(1 file)
We currently hard code GC intervals to: // JS_MaybeGC will run once every second during normal execution. #define PERIODIC_GC_TIMER_DELAY_SEC 1 // A shrinking GC will run five seconds after the last event is processed. #define IDLE_GC_TIMER_DELAY_SEC 5 A one second interval may not be appropriate on slow mobile devices. See bug 1319278. I'll add some prefs so we can tune these values.
Reporter | ||
Comment 1•8 years ago
|
||
Expose worker GC timer values as prefs. Also, lets slow down how fast we try to GC in mobile as the individual GCs may take longer on slow processors. https://treeherder.mozilla.org/#/jobs?repo=try&revision=777499dcbf85dc1a9377866ed1ae10f395e66579
Attachment #8826002 -
Flags: review?(amarchesini)
Updated•8 years ago
|
Attachment #8826002 -
Flags: review?(amarchesini) → review+
Reporter | ||
Comment 2•8 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=78148a14224ef6bc4f35c5394fa1c72bbf6aa8d4
Reporter | ||
Comment 3•8 years ago
|
||
Strangely, this doesn't seem to be working.
Reporter | ||
Comment 4•7 years ago
|
||
We should consider doing this, but I never had time to figure out what was wrong with these patches.
Reporter | ||
Comment 5•7 years ago
|
||
Comment on attachment 8826002 [details] [diff] [review] Expose worker GC timer values as prefs and tune them for fennec. r=baku This patch doesn't seem to work in my testing.
Attachment #8826002 -
Flags: review+
Updated•7 years ago
|
Priority: -- → P3
Updated•4 years ago
|
Type: defect → enhancement
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•