Closed
Bug 1708692
Opened 5 years ago
Closed 5 years ago
Rearrange the arena header to move alloc kind out of the flags bitfield
Categories
(Core :: JavaScript: GC, task, P1)
Core
JavaScript: GC
Tracking
()
RESOLVED
FIXED
90 Branch
| Tracking | Status | |
|---|---|---|
| firefox90 | --- | fixed |
People
(Reporter: jonco, Assigned: jonco)
Details
Attachments
(1 file)
For the pretenuring changes we need to add a flag to the arena which can be changed by another thread. Unfortunately this currently part of a bitfield shared with the alloc kind which can be read on the main thread.
| Assignee | ||
Comment 1•5 years ago
|
||
This patch moves the alloc kind out of the flags word and places it between the
freespan and the zone. On 64 bit platforms there is 32 bits of padding here
because zone has pointer alignment and the freespan is 32 bits. On 32 bits
platforms this increases the size of the header but there is enough spare that
this doesn't reduce the arena density for any of our alloc kinds.
This also lets us type allocKind appropraitely.
Depends on D114213
Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/abf1fa761730
Rearrange arena header to move alloc kind out of flags bitfield r=sfink
Comment 3•5 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox90:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•