Simplify nursery allocation a little more in preparation for adding an interpreter fast path
Categories
(Core :: JavaScript: GC, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox114 | --- | fixed |
People
(Reporter: jonco, Assigned: jonco)
References
Details
(Whiteboard: [sp3])
Attachments
(6 files)
This bug is for a set of tidyups and minor performance improvements.
Assignee | ||
Comment 1•2 years ago
|
||
This is a very minor optimisation so that we only read from a single location
when upating an allocaiton site rather than two. The allocation count being
zero implies that the site is not already on the list of active sites.
Assignee | ||
Comment 2•2 years ago
|
||
Depends on D176436
Assignee | ||
Comment 3•2 years ago
|
||
This adds flags to the zone for whether individual GC thing kinds can be
allocated in the nursery for that zone, which are used to replace more complex
checks that happened on allocation.
Depends on D176437
Assignee | ||
Comment 4•2 years ago
|
||
I'm not sure how much difference this makes but it seems sensible to keep
everything in the same cache line where possible.
Depends on D176438
Assignee | ||
Comment 5•2 years ago
|
||
We currently have two probes for object allocation because there's another one
in allocateCell(). This one is unnecessary.
Depends on D176439
Assignee | ||
Comment 6•2 years ago
|
||
The intent here was to count nursery cell allocations since it's sent to the
profiler for comparison with tenured cell allocations. However it currently
counts slots and element allocations in the nursery too.
Depends on D176440
Comment 8•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2c29263b7c19
https://hg.mozilla.org/mozilla-central/rev/170f20f793f0
https://hg.mozilla.org/mozilla-central/rev/3d30e9fc410e
https://hg.mozilla.org/mozilla-central/rev/0a66d475e281
https://hg.mozilla.org/mozilla-central/rev/b67f3fa6d38b
https://hg.mozilla.org/mozilla-central/rev/3bbc0a622f41
Updated•1 year ago
|
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Description
•