Closed Bug 1845638 Opened 2 years ago Closed 2 years ago

Use JS::FrontendContext in ScriptLoader

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED FIXED
119 Branch
Tracking Status
firefox119 --- fixed

People

(Reporter: arai, Assigned: arai)

References

(Blocks 4 open bugs)

Details

Attachments

(2 files)

In order to directly utilize TaskController from ScriptLoader's compilation and decode path, those code path should use JS::FrontendContext.
This will remove the last consumer of SpiderMonkey off-thread compilation/decode API.

Depends on: 1845640
Blocks: 1845668
Depends on: 1845806
Blocks: 1846160

This also depends on bug 1843987, to support concurrent delazification

Depends on: 1843987
Attachment #9346412 - Attachment description: Bug 1845638 - Part 2: Collect profiler timing in CompileOrDecodeTask. r?smaug! → Bug 1845638 - Part 2: Include the pending time of OffThreadCompilationCompleteRunnable to the profiler timing. r?smaug!
No longer depends on: 1845806
Blocks: 1848465
Pushed by arai_a@mac.com: https://hg.mozilla.org/integration/autoland/rev/29a877cbf7a9 Part 1: Use JS::FrontendContext APIs and TaskController in compilation and decode in ScriptLoader. r=smaug,bthrall https://hg.mozilla.org/integration/autoland/rev/f658f4bb2cc9 Part 2: Include the pending time of OffThreadCompilationCompleteRunnable to the profiler timing. r=smaug
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
See Also: → 1851578
Blocks: 1852878
Regressions: 1853480
Regressions: 1853752
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: