Closed Bug 1662274 Opened 3 months ago Closed 2 months ago

Support Incremental-XDR of Stencil structures

Categories

(Core :: JavaScript Engine, task, P1)

task

Tracking

()

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: tcampbell, Assigned: arai)

References

Details

Attachments

(1 file, 1 obsolete file)

The Incremental XDR encoder has a hook that is called each time a function is delazified during execution. This hook may then transcode the delazified function so that it's bytecode can be added to the cache.

We need a similar system that transcode's the stencil instead. Note that most of the BaseScript data is already in the initial data, so we can be careful and generate only a minimal vector updates. These updates would then be captured when FinishIncrementalEncoding happens. For the stencil case we do not require the full AutoXDRTree system as a result.

Hopefully this can remain controlled by the javascript.options.useOffThreadParseGlobal pref for a little while.

Assignee: nobody → tcampbell
Depends on: 1665387

stealing :)
the prototype is almost working locally.

Assignee: tcampbell → arai.unmht
Status: NEW → ASSIGNED
Attachment #9176324 - Attachment is obsolete: true
Depends on: 1665612
No longer depends on: 1665387
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/45a9bf6ab964
Support incremental XDR encoding of stencil. r=tcampbell
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.