Closed Bug 1416002 Opened 7 years ago Closed 4 years ago

Investigate caching LazyScript delazification

Categories

(Core :: JavaScript Engine, enhancement, P3)

enhancement

Tracking

()

RESOLVED INCOMPLETE
Tracking Status
thunderbird_esr52 --- wontfix
firefox-esr52 --- wontfix
firefox56 --- wontfix
firefox57 --- wontfix
firefox58 --- wontfix

People

(Reporter: tcampbell, Unassigned)

References

Details

In Bug 883154, we attempted to cache bytecode construction of compatible LazyScripts within a JSRuntime.

Unfortunately the code was buggy and was removed in Bug 1260894. We should investigate if there is still motivation to have a LazyScriptCache.

To add a new LazyScriptCache we need to be careful about complexities around compile flags such as non-syntactic compiles, issues around function modifiers like async, changes to GC behavior.

Bug 1529456 and Bug 1586771 are changing a lot of things in this area and any new caching system will not resemble the old LazyScriptCache at all.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.