Figure out how much we could save by sharing bytecode/sources per-process
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
People
(Reporter: terrence, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Whiteboard: [e10s-multi:+][MemShrink:P1])
Comment 1•11 years ago
|
||
Comment 2•8 years ago
|
||
Comment 3•8 years ago
|
||
Comment 4•8 years ago
|
||
Updated•8 years ago
|
Updated•8 years ago
|
Updated•8 years ago
|
Comment 5•6 years ago
|
||
Comment 6•6 years ago
|
||
Ted, can this get duped to the bytecode sharing thing you are working on?
Comment 7•5 years ago
|
||
We are handling self-hosted code in Bug 1458339, and various chrome code in Bug 1523749. What is proposed here would extend to content and is outside the Fission memshrink M1 target (if I remember correctly). It is still interesting.
In the meanwhile, we have split the Atoms from the rest of the data in SharedScriptData so that ImmutableScriptData is now fully immutable and in theory can be shared across processes if we had reasonable heuristics for when things are likely to be shared and worth the IPC.
Regarding Bug 1315757 (to share atoms): It would probably make sense to revisit this if/when we clean up static atoms in the engine which looked a bit complex when we last checked.
Updated•2 years ago
|
Description
•