Closed Bug 1693541 Opened 3 years ago Closed 3 years ago

Improve code that does multiple subsequent nsBaseHashtable lookups for the same key

Categories

(Core :: XPCOM, task)

task

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: sg, Assigned: sg)

References

Details

Crash Data

Attachments

(30 files, 2 obsolete files)

48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
No description provided.
Attachment #9203967 - Attachment is obsolete: true
Attachment #9204798 - Attachment is obsolete: true
Attachment #9204798 - Attachment is obsolete: false
Attachment #9204798 - Attachment is obsolete: true
Attachment #9204792 - Attachment description: Bug 1693541 - Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in storage. r=mak → Bug 1693541 - Improve uses of nsBaseHashtable and descendants by using Contains instead of Get in storage. r=mak
Attachment #9204804 - Attachment description: Bug 1693541 - Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in toolkit/components/url-classifier. r=gcp → Bug 1693541 - Improve uses of nsBaseHashtable and descendants by using Contains instead of Get in toolkit/components/url-classifier. r=gcp
Attachment #9204805 - Attachment description: Bug 1693541 - Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in toolkit/components/telemetry. r=chutten → Bug 1693541 - Improve uses of nsBaseHashtable and descendants in toolkit/components/telemetry. r=chutten
Attachment #9204795 - Attachment description: Bug 1693541 - Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in dom/gamepad. r=handyman → Bug 1693541 - Improve uses of nsBaseHashtable and descendants by using Contains instead of Get in dom/gamepad. r=handyman
Attachment #9204800 - Attachment description: Bug 1693541 - Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in image. r=tnikkel → Bug 1693541 - Improve uses of nsBaseHashtable and descendants by using Contains instead of Get in image. r=tnikkel
Attachment #9204807 - Attachment description: Bug 1693541 - Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in toolkit/components/resistfingerprinting. r=tjr → Bug 1693541 - Improve uses of nsBaseHashtable and descendants by using Contains instead of Get in toolkit/components/resistfingerprinting. r=tjr
Status: NEW → ASSIGNED
Keywords: leave-open
Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/024f13738341
Improve uses of nsBaseHashtable and descendants by using Contains instead of Get in storage. r=mak
https://hg.mozilla.org/integration/autoland/rev/c1dd5f0c12ae
Improve uses of nsBaseHashtable and descendants by using Contains instead of Get in toolkit/components/url-classifier. r=gcp
https://hg.mozilla.org/integration/autoland/rev/3fb278f4f22a
Improve uses of nsBaseHashtable and descendants by using Contains instead of Get in dom/gamepad. r=handyman
https://hg.mozilla.org/integration/autoland/rev/7e0af52987b7
Improve uses of nsBaseHashtable and descendants by using Contains instead of Get in image. r=tnikkel
https://hg.mozilla.org/integration/autoland/rev/368eaba844c1
Improve uses of nsBaseHashtable and descendants by using Contains instead of Get in toolkit/components/resistfingerprinting. r=tjr
https://hg.mozilla.org/integration/autoland/rev/dd71da0eaaae
Improve uses of nsBaseHashtable and descendants in toolkit/components/telemetry. r=chutten
Pushed by abutkovits@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/27f574662450
Improve uses of nsBaseHashtable and descendants by using Contains instead of Get in dom/gamepad. r=handyman. CLOSED TREE
Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1ad72338c85c
Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in dom/plugins. r=masayuki
https://hg.mozilla.org/integration/autoland/rev/bd94eb676ba3
Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in intl/locale. r=jfkthame
https://hg.mozilla.org/integration/autoland/rev/5bf56df77c01
Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in uriloader. r=Gijs
https://hg.mozilla.org/integration/autoland/rev/f0a9f8d39f4d
Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in dom/base. r=smaug
https://hg.mozilla.org/integration/autoland/rev/32a4e7eb5368
Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in toolkit/components/perfmonitoring. r=florian
https://hg.mozilla.org/integration/autoland/rev/41188177fe20
Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in layout. r=emilio
https://hg.mozilla.org/integration/autoland/rev/df77b47527fd
Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in dom/storage. r=dom-storage-reviewers,ttung
https://hg.mozilla.org/integration/autoland/rev/dadbd4ea6fc2
Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in dom/media. r=bryce
https://hg.mozilla.org/integration/autoland/rev/aa78994028cf
Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in security/manager/ssl/DataStorage.cpp. r=keeler

(In reply to Dorel Luca [:dluca] from comment #36)

Backed out changeset dadbd4ea6fc2 (bug 1693541) for Browser-chrome failures in dom/media/mediacontrol/tests/browser/browser_media_control_audio_focus_within_a_page.js. CLOSED TREE

Interesting, locally this test is failing for me even without any of these patches.

Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/473b37f1e3e2
Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in gfx. r=jrmuizel
https://hg.mozilla.org/integration/autoland/rev/de453865d38b
Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in dom/html. r=mattwoodrow
https://hg.mozilla.org/integration/autoland/rev/1126b4b88325
Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in accessible. r=Jamie
https://hg.mozilla.org/integration/autoland/rev/67598c4cd48a
Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in dom/localstorage. r=dom-storage-reviewers,janv
https://hg.mozilla.org/integration/autoland/rev/552b59db5620
Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in dom/quota. r=dom-storage-reviewers,janv
https://hg.mozilla.org/integration/autoland/rev/cbb8f0428372
Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in dom/indexedDB. r=dom-storage-reviewers,janv
https://hg.mozilla.org/integration/autoland/rev/596f4d937a00
Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in xpcom. r=xpcom-reviewers,nika
https://hg.mozilla.org/integration/autoland/rev/ead409cf4b20
Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in dom/file. r=baku
https://hg.mozilla.org/integration/autoland/rev/6d024458a59e
Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in toolkit/components/extensions. r=robwu
Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/28cee8e01f34
Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in netwerk. r=necko-reviewers,valentin
Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f463bd181bdd
Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in dom/presentation/ipc. r=nika

There are Nightly crashes for the gfx change https://hg.mozilla.org/mozilla-central/rev/473b37f1e3e2 - e.g. bp-22b9b3b0-82d5-4427-9c77-448360210302
The change will be reverted and new Nightlies requested.

Crash Signature: [@ gfxFcPlatformFontList::FindAndAddFamilies ]
Backout by smolnar@mozilla.com:
https://hg.mozilla.org/mozilla-central/rev/fd31ad9db5ad
Backed out changeset 473b37f1e3e2 for causing gfx crashes. a=backout

Backed out from central for causing gfx crashes

Backout link: https://hg.mozilla.org/mozilla-central/rev/fd31ad9db5ad7f2bad07cdaa785e463bdc0a98b3

The backout conflicts with bug 1691913. Simon, please connect with the #sheriffs channel on the next step (test fix or backout).

Pushed by smolnar@mozilla.com:
https://hg.mozilla.org/mozilla-central/rev/1cd6272a3459
Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in gfx. r=jrmuizel
https://hg.mozilla.org/mozilla-central/rev/b2c9624b48f0
Revert changes to FindAndAddFamilies and adapt to nsBaseHashtable changes. a=fix
Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6d9143bf5e68
Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in dom/media. r=bryce
Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/90183d6fc8ce
Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in nsSystemAlertsService. r=karlt
Flags: needinfo?(sgiesecke)
Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c247b91b08b6
Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in dom/ipc. r=nika
Keywords: leave-open
Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/aa6ad2529eaf
Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in security/sandbox/linux/broker. r=jld
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: