Open Bug 1740752 Opened 3 years ago Updated 2 years ago

Experiment with allocating the nursery in a contiguous region of address space

Categories

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

task

Tracking

()

ASSIGNED

People

(Reporter: jonco, Assigned: sfink)

References

(Blocks 1 open bug)

Details

Attachments

(5 files)

Currently the nursery is made up a of series of chunks which are not contiguous in memory. Reserving address space ahead of time and using this to allocate nursery memory contiguously could be better for the following reasons:

  • cheaper post barriers (which don't require loads from the chunk header)
  • simplification of nursery code
  • it's a prerequisite for pointer compression

Possible downsides are:

  • increased use of address space (may negatively affect 32bit platforms)
Blocks: 1787526
Attachment #9289428 - Attachment description: WIP: Bug 1740752 - Part 2: Remove use of chunks vector → WIP: Bug 1740752 - Part 2: Remove use of chunks vector when using contiguous nursery
Assignee: jcoppeard → sphink
Status: NEW → ASSIGNED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: