Move DelazifyTask to FrontendContext
Categories
(Core :: JavaScript Engine, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox117 | --- | fixed |
People
(Reporter: nbp, Assigned: arai)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
Currently the DelazifyTask uses a JSRuntime* pointer to access the delazificationCache which is stored on the JSRuntime.
This might causes problems for moving the ParseTask to be independent of the JS engine, as the DelazifyTask can be initialized at the end of a ParseTask.
What I would recommend would be to have an optional StencilCache*
pointer as argument of the ParseTask and DelazificationTask as a replacement for the JSRuntime*
, and assert that only in cases where a DelazifyTask is created that the delazificationCache pointer is non-null.
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Depends on D183835
Assignee | ||
Comment 2•2 years ago
|
||
Depends on D183836
Assignee | ||
Comment 3•2 years ago
|
||
Depends on D183837
Comment 5•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9ae887198cb8
https://hg.mozilla.org/mozilla-central/rev/3cf9b59b655c
https://hg.mozilla.org/mozilla-central/rev/55c57fe1635c
Description
•