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•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Depends on D64455
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
Depends on D67568
Assignee | ||
Comment 3•5 years ago
|
||
Depends on D67569
Assignee | ||
Comment 4•5 years ago
|
||
Depends on D67570
Assignee | ||
Comment 5•5 years ago
|
||
Replace with a FunctionIndex
Depends on D67571
Updated•5 years ago
|
Comment 7•5 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
•