The default bug view has changed. See this FAQ.

Should do shrinking GCs more often for workers

RESOLVED FIXED in mozilla24

Status

()

Core
DOM: Workers
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: Ben Turner (not reading bugmail, use the needinfo flag!), Assigned: Ben Turner (not reading bugmail, use the needinfo flag!))

Tracking

unspecified
mozilla24
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [MemShrink:P1])

Attachments

(1 attachment)

Created attachment 750872 [details] [diff] [review]
Patch, v1

This is the mozilla-central version of bug 829482. This re-syncs all the main thread prefs for use with workers and allows overrides for workers if needed. Also updates the priority of workers depending on whether they're chrome or content.
Attachment #750872 - Flags: review?(khuey)
Stupid question, but do we do a shrinking-gc in workers upon receiving a memory-pressure event?
Yep, http://mxr.mozilla.org/mozilla-central/source/dom/workers/RuntimeService.cpp#1434
Attachment #750872 - Flags: review?(khuey) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/f7c514f26232
https://hg.mozilla.org/mozilla-central/rev/f7c514f26232
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in before you can comment on or make changes to this bug.