Closed
Bug 1728565
Opened 3 years ago
Closed 3 years ago
Move TypedArray and ArrayBuffer allocation out of the generic allocation code
Categories
(Core :: JavaScript Engine, task, P3)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
94 Branch
Tracking | Status | |
---|---|---|
firefox94 | --- | fixed |
People
(Reporter: jandem, Assigned: jandem)
References
Details
Attachments
(4 files)
The generic allocation path is a lot simpler than before, but it still has some branching for objects that store data inline (typed arrays and array buffers) because this affects the number of fixed slots.
If we move allocation of these objects out of there we can turn that ClassCanHaveFixedData
check into an assertion.
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
Depends on D124324
Assignee | ||
Comment 3•3 years ago
|
||
Depends on D124325
Assignee | ||
Comment 4•3 years ago
|
||
Depends on D124326
Updated•3 years ago
|
Attachment #9239125 -
Attachment description: Bug 1728565 part 2 - Use ArrayBuffer arena for more ArrayBuffer objects. r?sfink! → Bug 1728565 part 2 - Use ArrayBuffer arena for all ArrayBuffer objects. r?sfink!
Pushed by jdemooij@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7ea3c57fa362
part 1 - Move ArrayBuffer allocation out of the generic allocation code. r=sfink
https://hg.mozilla.org/integration/autoland/rev/0d17023ae58e
part 2 - Use ArrayBuffer arena for all ArrayBuffer objects. r=sfink
https://hg.mozilla.org/integration/autoland/rev/68c8333149ed
part 3 - Move TypedArray allocation out of the generic allocation code. r=sfink
https://hg.mozilla.org/integration/autoland/rev/706403fcb982
part 4 - Remove support for objects with fixed data from the generic allocation path. r=sfink
Comment 6•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7ea3c57fa362
https://hg.mozilla.org/mozilla-central/rev/0d17023ae58e
https://hg.mozilla.org/mozilla-central/rev/68c8333149ed
https://hg.mozilla.org/mozilla-central/rev/706403fcb982
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox94:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•