Rewrite JS shell off-thread compilation/decode functions with JS::FrontendContext and its own thread
Categories
(Core :: JavaScript Engine, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox119 | --- | fixed |
People
(Reporter: arai, Assigned: arai)
References
Details
Attachments
(2 files)
After bug 1837964, bug 1845638, and bug 1846380, JS shell is the only consumer of off-thread compilation and decode APIs.
I order to remove the ParseTask, and also to reflect the actual usage, JS shell should use JS::FrontendContext
-based APIs, with their own thread handling, separate from helper threads.
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
Depends on D185062
Updated•1 year ago
|
Updated•1 year ago
|
Assignee | ||
Comment 2•1 year ago
|
||
Depends on D185063
Comment 3•1 year ago
|
||
There are some r+ patches which didn't land and no activity in this bug for 2 weeks.
:arai, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit BugBot documentation.
Assignee | ||
Comment 4•1 year ago
|
||
I'll land these patches in the next cycle
Pushed by arai_a@mac.com: https://hg.mozilla.org/integration/autoland/rev/dc1e82532e0a Part 1: Rewrite JS shell off-thread compilation/decode functions with JS::FrontendContext and its own thread. r=nbp https://hg.mozilla.org/integration/autoland/rev/284aef199efe Part 2: Stop using JS::CanCompileOffThread and JS::CanDecodeOffThread in JS shell. r=nbp
Comment 6•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/dc1e82532e0a
https://hg.mozilla.org/mozilla-central/rev/284aef199efe
Description
•