Closed
Bug 1535138
Opened 5 years ago
Closed 4 years ago
[meta] Revamp JSScript representation
Categories
(Core :: JavaScript Engine, enhancement, P2)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: tcampbell, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Keywords: meta)
This is a meta-bug to track a number of changes I'm making to the JSScript data structures and memory layout.
Some rough goals:
- Use modern C++ to avoid footguns. This includes reducing raw pointers and manual GC barriers. It should be easier to add/move/remove script metadata.
- Unify JSScript and LazyScript to reduce the number of parts of the engine that need to handle the distinction.
- Make as much immutable data as possible shareable in XDR. This is useful for Fission now and we have other other ideas for future caching.
- Simplify data access for JITs (in particular the BaselineInterpreter project).
Reporter | ||
Comment 1•4 years ago
|
||
The major changes to the JSScript/LazyScript structures are done and all fields are part of js::BaseScript
. The remaining work that is planned is all tracked in Bug 1529456.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•