Closed Bug 1530575 Opened 6 months ago Closed 6 months ago

Reduce Nursery::SubChunkStep

Categories

(Core :: JavaScript: GC, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: pbone, Assigned: pbone)

References

Details

Attachments

(1 file)

I set higher-than-necessary Nursery::SubChunkStep constants to try to prevent frequent changes in nursery size, but this isn't necessary and setting to the arena size is simpler.

I initially set this to 64K thinking that it'd prevent too much changing of
the nursery size and therefore (once implemented) too many calls to
madvise. But that's not true, because the nursery only changes size when a
tenure rate threshold is hit, and once it does it always changes size. So
we can reduce this to 4K for simplicity and alignment with other constants.

Assignee: nobody → pbone
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Blocks: 1531540
Depends on: 1433007
You need to log in before you can comment on or make changes to this bug.