Closed Bug 1294469 Opened 4 years ago Closed 4 years ago

Shrink the nursery if we run out of memory

Categories

(Core :: JavaScript: GC, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla51
Tracking Status
firefox51 --- fixed

People

(Reporter: jonco, Assigned: jonco)

References

Details

Attachments

(1 file)

We should shrink the nursery to its minimum size if we run out of memory or get a memory pressure event.  This should be simple to do by checking the GC reason when deciding whether to resize the nursery.
Attachment #8781103 - Flags: review?(terrence)
Comment on attachment 8781103 [details] [diff] [review]
bug1294469-shrink-nursery

Review of attachment 8781103 [details] [diff] [review]:
-----------------------------------------------------------------

\o/
Attachment #8781103 - Flags: review?(terrence) → review+
Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/31c8b972a763
Shrink the nursery if we run out of memory r=terrence
https://hg.mozilla.org/mozilla-central/rev/31c8b972a763
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
Depends on: 1304543
You need to log in before you can comment on or make changes to this bug.