Remove padding from Chunk data structures
Categories
(Core :: JavaScript: GC, enhancement, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox86 | --- | fixed |
People
(Reporter: jonco, Assigned: jonco)
Details
Attachments
(2 files)
There are a couple of instances of padding used in the Chunk data structures are are almost certainly there for historical reasons that aren't relevant any more. We should remove them.
Assignee | ||
Comment 1•4 years ago
|
||
Remove the unnecessary padding. This lets us have one more arena per chunk on 32 bit Android builds with the small chunk size.
Updated•4 years ago
|
Assignee | ||
Comment 2•4 years ago
|
||
The ChunkLocation field is not necessary because we can tell the different between nursery chunks and tenured heap chunks based on whether the storebuffer pointer is null or not. This patch removes the field.
Jan, is there any impact on the generated JIT code for doing it this way?
This allows us to get one more arena per chunk on 64 bit systems with the small chunk size.
Depends on D102392
Updated•4 years ago
|
Comment 4•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/64fc2e7b897a
https://hg.mozilla.org/mozilla-central/rev/f13d6fb14d1e
Description
•