Disconnect ScriptStencil from js::FunctionBox
Categories
(Core :: JavaScript Engine, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox76 | --- | fixed |
People
(Reporter: mgaudet, Assigned: mgaudet)
References
Details
Attachments
(4 files, 1 obsolete file)
Currently ScriptStencil stores the associated FunctionBox in order to call JSScript::initFromFunctionBox.
When we move stencils across threads, FunctionBox pointers will no longer be valid as they are LifoAlloc scoped and will die when the parser dies; so we'll need to disconnect ScriptStencil from directly refering to it.
At allocation time, we should be able to extract the relevant information from the functionbox.
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Depends on D64455
Updated•4 years ago
|
Assignee | ||
Comment 2•4 years ago
|
||
Depends on D67568
Assignee | ||
Comment 3•4 years ago
|
||
Depends on D67569
Assignee | ||
Comment 4•4 years ago
|
||
Depends on D67570
Assignee | ||
Comment 5•4 years ago
|
||
Replace with a FunctionIndex
Depends on D67571
Updated•4 years ago
|
Pushed by mgaudet@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d0bd6caf8d48 Create ImmutableScriptData before ScriptStencil, and transfer ownership to stencil r=tcampbell https://hg.mozilla.org/integration/autoland/rev/392aa4cee226 Rename BaseScript::immutableScriptFlags_ to immutableFlags_ to match mutableFlags_ r=tcampbell https://hg.mozilla.org/integration/autoland/rev/52a7e7b5c595 Don't use ScriptStencil::functionBox for propagating flags r=tcampbell https://hg.mozilla.org/integration/autoland/rev/187d340adf5e Remove FunctionBox reference in ScriptStencil r=tcampbell
Comment 7•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d0bd6caf8d48
https://hg.mozilla.org/mozilla-central/rev/392aa4cee226
https://hg.mozilla.org/mozilla-central/rev/52a7e7b5c595
https://hg.mozilla.org/mozilla-central/rev/187d340adf5e
Description
•