Closed
Bug 1852755
Opened 1 year ago
Closed 1 year ago
Move Ion safepoint encoding off-thread
Categories
(Core :: JavaScript Engine: JIT, task, P1)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
FIXED
119 Branch
Tracking | Status | |
---|---|---|
firefox119 | --- | fixed |
People
(Reporter: jandem, Assigned: jandem)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [sp3])
Attachments
(1 file)
I was just looking at a profile where CodeGeneratorShared::encodeSafepoints
took a pretty large amount of time. This is called as part of linking on the main thread, but can be done off-thread.
This was on M1. It's probably less of an issue on x64 because it doesn't have as many registers.
Assignee | ||
Comment 1•1 year ago
|
||
This was showing up in profiles on M1. It likely affects arm64 more than x64
because it has so many registers.
Updated•1 year ago
|
Pushed by jdemooij@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4bd4176ffec7
Call encodeSafepoints as part of off-thread codegen instead of on the main thread. r=iain
Comment 3•1 year ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox119:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
Updated•1 year ago
|
Whiteboard: [sp3]
Updated•1 year ago
|
See Also: → https://mozilla-hub.atlassian.net/browse/SP3-575
You need to log in
before you can comment on or make changes to this bug.
Description
•