Open Bug 1740752 Opened 4 years ago Updated 1 year 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

Details

(Whiteboard: [sp3])

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)

Depends on D154366

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
Attachment #9289428 - Attachment description: WIP: Bug 1740752 - Part 2: Remove use of chunks vector when using contiguous nursery → WIP: Bug 1740752 - Part 2: Remove use of chunks vector
Whiteboard: [sp3]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: