Open Bug 1570922 Opened 5 years ago Updated 2 years ago

Reduce the overhead of compacting GC to allow us to do it more often

Categories

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

enhancement

Tracking

()

People

(Reporter: jonco, Unassigned)

References

(Blocks 1 open bug)

Details

Currently we have to scan the entire zone for pointers to update after we compact because we don't have any information about what may point to a moved cell. We should collect data about pointers to cells we might like to move during GC and keep it up-to-date with barriers. Then we could greatly reduce the work done during compacting. This should allow us to compact when we detect that it would be useful rather than only when requested.

Severity: normal normal → S3 S3
You need to log in before you can comment on or make changes to this bug.