Closed Bug 1586771 (stencil-serdes) Opened 5 years ago Closed 4 years ago

[meta] Use parser stencil output directly for bytecode caches

Categories

(Core :: JavaScript Engine, enhancement, P2)

enhancement

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: tcampbell, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: meta)

(Original proposal was from :nbp)

When we complete Bug 1544117, we will have an alternate data structure that we can utilize for bytecode caches. There are a few upsides to doing this:

  1. Remove XDR transcode code which adds maintenance complexity since it differs from normal script creation code (in particular OOM handling).
  2. Could encode off-thread to remove encoder time from main-thread during page-load.
  3. Tuning work on the normal parse-result-to-gc-thing pass would also translate into improvements for cache.
Depends on: 1598053
Blocks: stencil
Summary: Consider using gc-free parse-result directly for bytecode caches → Use parser stencil output directly for bytecode caches
See Also: → 1602931
Depends on: 1613118
Summary: Use parser stencil output directly for bytecode caches → [meta] Use parser stencil output directly for bytecode caches
Alias: stencil-serdes
Depends on: 1659104
Blocks: 1663955
No longer blocks: stencil
Depends on: 1667740

Closing this meta bug in favour of Bug 1663956, Bug 1663955.

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.