Closed Bug 1768630 Opened 2 years ago Closed 2 years ago

Remove CompileAndDelazifyAllToStencil

Categories

(Core :: JavaScript Engine, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: nbp, Assigned: nbp)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

CompileAndDelazifyAllToStencil was introduced as a way to highlight issues with concurrent delazification without relying on helper threads.

With the addition of helper thread instrumentation, there is no need to have extra logic only used while testing, and we could replace it by usage of CompileToStencil while delegating to helper threads for the concurrent delazification.

Instead of having a function dedicated to parsing eagerly every function, while
filling the stencil cache, we delegate to the code which would be used in
production to do so.

This is achieved by using instrumentation which creates DelazifyTasks for
scripts which have a delazification mode which implies populating the stencil
cache.

Pushed by npierron@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/18753b2d37ac Replace CompileAndDelazifyToStencil by a CompileOption. r=arai
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: