Closed Bug 1984102 Opened 9 months ago Closed 8 months ago

Consider re-introducing some of the AutoTArray-specific optimizations in nsTArray

Categories

(Core :: XPCOM, task)

task

Tracking

()

RESOLVED FIXED
144 Branch
Tracking Status
firefox144 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(1 file, 1 obsolete file)

As per Mayank's comment the regressing bug probably has introduced some speedometer regressions.

Here's a try run reintroducing some of these:

This re-introduces some of the special-cases that we had before
bug 1983704, in a somewhat simpler way (by cleaning up AutoBuffer, and
forcing it to be 8-byte aligned).

This file is very annoying to edit, as editors choke on it, and it's
only included from nsTArray.h. So get rid of it.

Depends on: 1984195

Comment on attachment 9508167 [details]
Bug 1984102 - Remove nsTArray-inl.h. r=nika!

Revision D261751 was moved to bug 1984195. Setting attachment 9508167 [details] to obsolete.

Attachment #9508167 - Attachment is obsolete: true
Pushed by agoloman@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/7008f88d9130 https://hg.mozilla.org/integration/autoland/rev/59b56e35fd8b Revert "Bug 1984102 - Keep AutoTArray bit across relocations. r=nika" for causing leaks @chrome.toml.

Backed out for causing multiple failures.

Flags: needinfo?(emilio)
Flags: needinfo?(emilio)
Pushed by agoloman@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/25907d55223a https://hg.mozilla.org/integration/autoland/rev/23304f4eb710 Revert "Bug 1984102 - Keep AutoTArray bit across relocations. r=nika" for causing multiple crashes.

Backed out for causing multiple crashes.

Flags: needinfo?(emilio)
Flags: needinfo?(emilio)
Blocks: 1985273
Blocks: 1985292
Regressions: 1985509
Regressions: 1985556
Regressions: 1990430
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: