Compact cells into new arenas if possible

NEW
Unassigned

Status

()

Core
JavaScript: GC
3 years ago
11 months ago

People

(Reporter: jonco, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
At the moment compacting GC takes pains to reuse the existing arenas so that it can work when we are out of memory.

However if we are not totally out of memory, it can be beneficial to compact into a new set of areans, for two reasons:
 - objects allocated sequentially are more likely to stay together in memory
 - we protect reclaimed arenas to catch bugs where we don't update pointers correctly, and this would allow us to protect all arenas we compacted not just those that were emptied
(Reporter)

Updated

3 years ago
Blocks: 1122579
(Reporter)

Updated

11 months ago
Assignee: jcoppeard → nobody
You need to log in before you can comment on or make changes to this bug.