Make fully-packed subset of scope AbstractData for stencil
Categories
(Core :: JavaScript Engine, task, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox86 | --- | fixed |
People
(Reporter: arai, Assigned: arai)
References
Details
Attachments
(6 files)
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review |
Currently stencil and VM share single definition of scope AbstractData.
there are some problems:
- GC pointer types shouldn't be part of stencil
FunctionScope::AbstractData::canonicalFunctionModuleScope::AbstractData::moduleWasmInstanceScope::AbstractData::instance
- some
AbstractDataaren't packed, and not compatible with direct XDR encoding/decoding or pinned data - while instantiation, we copy header from stencil to VM data, but it copies padding too
| Assignee | ||
Comment 1•5 years ago
|
||
Once we have fully-packed scope data, we can encode/decode the scope data at once by codeBytes
| Assignee | ||
Comment 2•5 years ago
|
||
| Assignee | ||
Comment 3•5 years ago
|
||
Depends on D99652
| Assignee | ||
Comment 4•5 years ago
|
||
Split *Scope::Data into stencil and VM, with specialization for each.
Stencil variant doesn't contain pointer fields.
Depends on D99744
| Assignee | ||
Comment 5•5 years ago
|
||
Stencil's *Scope::Data doesn't contain pointer and doesn't have to be aligned
to pointer size.
This removed extra padding between scope data items in vector.
Depends on D99745
| Assignee | ||
Comment 6•5 years ago
|
||
Depends on D99746
| Assignee | ||
Comment 7•5 years ago
|
||
Depends on D99747
| Assignee | ||
Comment 8•5 years ago
|
||
Depends on D99748
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Comment 10•5 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/0940ad526195
https://hg.mozilla.org/mozilla-central/rev/bbbeb29c04c2
https://hg.mozilla.org/mozilla-central/rev/c972b09c5e56
https://hg.mozilla.org/mozilla-central/rev/fb9fcbb1a089
https://hg.mozilla.org/mozilla-central/rev/798cf3bb1173
https://hg.mozilla.org/mozilla-central/rev/22cc55f37833
Description
•