Closed
Bug 1567579
Opened 6 years ago
Closed 6 years ago
Defer initialization of LazyScripts until after all parsing is done.
Categories
(Core :: JavaScript Engine, enhancement, P1)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla70
Tracking | Status | |
---|---|---|
firefox70 | --- | fixed |
People
(Reporter: mgaudet, Assigned: mgaudet)
References
Details
Attachments
(4 files)
To further our goal of decoupling the parser for the GC, we'd like to be able to avoid creating JSFunctions until after the parser is done its business.
However, we need a JSFunction to allocate a LazyScript, so this bug is about deferring the allocation of the LazyScript until after the parse is done (unblocking deferred function allocation)
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Attachment #9079428 -
Flags: feedback?(tcampbell)
Attachment #9079428 -
Flags: feedback?(jorendorff)
Updated•6 years ago
|
Priority: -- → P1
Assignee | ||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
This is a good preparation fo deferred function allocation (Bug 1569315),
but also removes some awkward rooting / type issues in deferred lazyscript
allocation
Depends on D39681
Updated•6 years ago
|
Attachment #9079428 -
Attachment description: Bug 1567579 - Defer allocation of LazyScript to after parsing → Bug 1567579 - Defer allocation of LazyScript to after parsing r?tcampbell
Updated•6 years ago
|
Attachment #9081372 -
Attachment description: Bug 1567579 - Store inner functionboxes instead of inner functions r?tcampbell → Bug 1567579 - Store inner FunctionBoxes instead of inner functions r?tcampbell
Assignee | ||
Updated•6 years ago
|
Keywords: leave-open
Assignee | ||
Comment 4•6 years ago
|
||
Pushed by mgaudet@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fc6a301ce5fc
Set the toStringEnd on the lazyScript directly during construction. r=tcampbell
https://hg.mozilla.org/integration/autoland/rev/211c315c5a40
Store inner FunctionBoxes instead of inner functions r=tcampbell
Pushed by mgaudet@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/39eba0684c1b
Use a FunctionBoxVector type to clarify code r=tcampbell
Assignee | ||
Updated•6 years ago
|
Status: NEW → ASSIGNED
Comment 7•6 years ago
|
||
bugherder |
Pushed by mgaudet@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/adac722a3dfc
Defer allocation of LazyScript to after parsing r=tcampbell
Comment 9•6 years ago
|
||
bugherder |
Updated•6 years ago
|
Attachment #9079428 -
Flags: feedback?(tcampbell)
Attachment #9079428 -
Flags: feedback?(jorendorff)
Comment 10•6 years ago
|
||
Closing out this bug. There is more follow-up work on the defer-function bug but this lazy script handling is now landed.
Updated•5 years ago
|
status-firefox70:
--- → fixed
Target Milestone: --- → mozilla70
You need to log in
before you can comment on or make changes to this bug.
Description
•