Use TaskController directly for off-thread JS parsing
Categories
(Core :: JavaScript Engine, task, P2)
Tracking
()
People
(Reporter: tcampbell, Unassigned)
References
(Depends on 6 open bugs, Blocks 1 open bug)
Details
Attachments
(2 obsolete files)
While off-thread parsing currently uses Task Controller background threads, the dispatch queue and OffThreadToken is still managed by spidermonkey. This is a blackbox to our other Task scheduling efforts so we should avoid the extra steps and try to use TaskController directly.
Comment 1•1 year ago
|
||
Comment 2•1 year ago
|
||
Need to fill out jsapi-test for more details and use cases.
AsyncParseGlobalScript() has a stackLimit parameter because I don't expect to
know what the limit for the TaskController task is, or even that the function
is being run by TaskController.
Depends on D167460
Updated•1 year ago
|
Updated•1 year ago
|
Comment 3•1 year ago
|
||
Comment on attachment 9313378 [details]
WIP: Bug 1773339 - Make cx parameter to CompileGlobalScriptToStencilAndMaybeInstantiate optional
Revision D167460 was moved to bug 1773319. Setting attachment 9313378 [details] to obsolete.
Comment 4•1 year ago
|
||
Comment on attachment 9313379 [details]
WIP: Bug 1773339 - Intro API to create/destroy FrontendContext, AsyncScriptParse
Revision D167461 was moved to bug 1773319. Setting attachment 9313379 [details] to obsolete.
Description
•