Defer creating allocation sites until running in baseline
Categories
(Core :: JavaScript: GC, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox91 | --- | fixed |
People
(Reporter: jonco, Assigned: jonco)
References
Details
Attachments
(1 file, 1 obsolete file)
Currently we create allocation sites when attaching cache IR stubs which can happen when code is running in the baseline interpreter. It would be preferable to defer this until the code is hot enough to run in baseline proper, to avoid overhead for code that is not particularly hot.
Assignee | ||
Comment 1•3 years ago
|
||
This stops creating allocation sites for IC stubs when running in the baseline
interpreter. When a script is compiled in baseline proper this scans the IC
chain for ops that could potentially reference allocation sites, and allocates
them where necessary.
This should result in fewer sites being created and less overhead for code that
doesn't reach baseline.
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
This stops creating allocation sites for IC stubs when running in the baseline
interpreter. When a script is compiled in baseline proper this scans the IC
chain for ops that could potentially reference allocation sites, and allocates
them where necessary.
This should result in fewer sites being created and less overhead for code that
doesn't reach baseline.
Updated•3 years ago
|
Pushed by jcoppeard@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/360ca5ba051e Don't create allocation sites until baseline r=jandem
Comment 4•3 years ago
|
||
Assignee | ||
Updated•3 years ago
|
Pushed by jcoppeard@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ff54f41b526b Don't create allocation sites until baseline r=jandem
Comment 6•3 years ago
|
||
bugherder |
Description
•