Closed Bug 1635692 Opened 4 years ago Closed 4 years ago

Store the cell's trace kind in the nursery cell header

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: jonco, Assigned: jonco)

References

Details

Attachments

(3 files)

Following on from bug 1635087, we can store the nursery cell trace kind in its header instead of setting flag bits in the first word of the cell. The flag bits will remain reserved for future use by the GC.

It looks like we can use bit 3 for this instead.

Depends on D74022

We shouldn't need to store this inverted any more.

Depends on D74023

Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/af22c6d0af23
Store trace kind in nursery cell header and remove nursery cell kind flags r=sfink
https://hg.mozilla.org/integration/autoland/rev/6648ecc63106
Move JSString::NON_ATOM_BIT so that it doesn't use one of the bits reserved for the GC r=jandem
https://hg.mozilla.org/integration/autoland/rev/e88b38c4bd48
Invert JSString::NON_ATOM_BIT so it's now ATOM_BIT r=jandem
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: