Open
Bug 1824203
Opened 3 years ago
Updated 1 year ago
Prepopulate Ion ICs based on active baseline stubs
Categories
(Core :: JavaScript Engine: JIT, task, P2)
Core
JavaScript Engine: JIT
Tracking
()
NEW
People
(Reporter: iain, Unassigned)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [sp3])
If there is more than one active stub in a baseline IC (ie the first stub doesn't always succeed), then we generate an Ion IC in WarpBuilder. When we do so, we could consider packaging up the CacheIR for each of the stubs with a non-zero success rate, storing it in the script snapshot, and using it to prepopulate the Ion IC chain. The advantage of this is that we can do the IC compilation offthread, and batch the mprotect for the ICs with the mprotect for the Ion code.
The main obstacle is that we'd have to make sure the Ion CacheIR compiler can safely run offthread.
Updated•1 year ago
|
Blocks: speedometer3
Updated•1 year ago
|
Whiteboard: [sp3]
Updated•1 year ago
|
See Also: → https://mozilla-hub.atlassian.net/browse/SP3-865
You need to log in
before you can comment on or make changes to this bug.
Description
•