Closed Bug 1632260 Opened 5 years ago Closed 5 years ago

Defer allocation of JSScript to just before JSScript::fullyInitFromEmitter

Categories

(Core :: JavaScript Engine, task, P2)

task

Tracking

()

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: mgaudet, Assigned: mgaudet)

References

Details

Attachments

(4 files, 1 obsolete file)

+++ This bug was initially created as a clone of Bug #1607854 +++

Don't allocate the JSScript until the precise point at which it will be filled in.

Note: This stack doesn't add any uses of this, but this was invaluable in the
development of this stack, and it was the second time I had implmented this and
not landed it.

Assignee: nobody → mgaudet
Status: NEW → ASSIGNED
Attachment #9142505 - Attachment is obsolete: true
Pushed by mgaudet@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b7ddfecdc704 Add a creation extent to SharedContext to drive JSScript allocation r=tcampbell https://hg.mozilla.org/integration/autoland/rev/681302512ade Use shared context immutable flags for doing JSScript::Create r=tcampbell https://hg.mozilla.org/integration/autoland/rev/fa5cde1270ab Clarify BytecodeEmitter input output a bit r=tcampbell https://hg.mozilla.org/integration/autoland/rev/93e05656e575 Defer allocation of JSScript to just before JSScript::fullyInitFromEmitter r=tcampbell
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: