Put compilation target into the cache key in StartupCache/ScriptPreloader
Categories
(Core :: JavaScript Engine, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox101 | --- | fixed |
People
(Reporter: arai, Assigned: arai)
References
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
Currently StartupCache and ScriptPreloader uses the modified URL (such as jsloader/non-syntactic/resource/gre/modules/MainProcessSingleton.jsm
) as the cache key.
Technically, single script can be compiled as both regular script and module, and especially during the transition, this situation can happen.
To avoid mixing them up, we should put the compilation target (script or module) into the cache key.
Assignee | ||
Comment 1•3 years ago
|
||
Depends on D143575
Comment 3•3 years ago
|
||
Backed out for causing build bustages . CLOSED TREE
Backout link: https://hg.mozilla.org/integration/autoland/rev/84a0dcf54a260865312c902466be7dbfe92b13ea
Link to failure log :
https://treeherder.mozilla.org/logviewer?job_id=374355320&repo=autoland&lineNumber=14215
https://treeherder.mozilla.org/logviewer?job_id=374351442&repo=autoland&lineNumber=25706
Assignee | ||
Updated•3 years ago
|
Comment 5•3 years ago
|
||
bugherder |
Description
•