Closed Bug 1714561 Opened 3 years ago Closed 3 years ago

Allow single-zone JS holders to hold pointers into the atoms zone

Categories

(Core :: XPCOM, defect)

defect

Tracking

()

RESOLVED FIXED
91 Branch
Tracking Status
firefox91 --- fixed

People

(Reporter: jonco, Assigned: jonco)

References

Details

Attachments

(2 files)

In the browser we try to partition JS holders by the zone of their JS referents, so that we can speed up marking by skipping pointers into zones that are not being collected.

Strings complicate this because any string might be in the atoms zone. We should allow pointers into the atoms zone from otherwise single-zone holders and make sure we mark all holders when collecting the atoms zone.

Assignee: nobody → jcoppeard
Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3061d812f68a
Allow single-zone JS holders to contain pointers into the atoms zone r=mccr8,sfink
https://hg.mozilla.org/integration/autoland/rev/2e7f08395e60
Add test that single-zone JS holders can contain a pointer into the atoms zone r=mccr8
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: