Closed
Bug 1824135
Opened 1 year ago
Closed 1 year ago
Make ArraySpeciesLookup::tryOptimizeArray more robust when there are extra own properties
Categories
(Core :: JavaScript Engine, task, P2)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
113 Branch
Tracking | Status | |
---|---|---|
firefox113 | --- | fixed |
People
(Reporter: jandem, Assigned: jandem)
References
(Blocks 1 open bug)
Details
(Whiteboard: [sp3])
Attachments
(1 file)
anba noticed this in bug 1822890 comment 1. We can fix this by doing a slightly slower but still faster lookup.
Updated•1 year ago
|
See Also: → https://mozilla-hub.atlassian.net/browse/SP3-291
Assignee | ||
Comment 1•1 year ago
|
||
On Speedometer we sometimes end up here with an array that has own properties other
than .length
. We can support these cases by checking for an own .constructor
property.
Pushed by jdemooij@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d7484f38148b Support extra own properties in ArraySpeciesLookup::tryOptimizeArray. r=iain
Comment 3•1 year ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox113:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•