Closed Bug 1839286 Opened 2 years ago Closed 2 years ago

ImageBitmap can create a lot shutdown observers, which are managed by an array

Categories

(Core :: Graphics: Canvas2D, defect)

defect

Tracking

()

RESOLVED FIXED
117 Branch
Tracking Status
firefox-esr102 --- wontfix
firefox-esr115 --- wontfix
firefox114 --- wontfix
firefox115 --- wontfix
firefox116 --- wontfix
firefox117 --- fixed

People

(Reporter: tnikkel, Assigned: tnikkel)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

This makes bug 1508765 slower for example.

Use on shutdown observer and manager a hashtable of all imagebitmaps. Observers are managed using an array, which is slow for large numbers of observers.

Set release status flags based on info from the regressing bug 1414825

Pushed by tnikkel@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ec7fc33e6ad4 Use one shutdown observer for all ImageBitmaps. r=gfx-reviewers,lsalzman

Very long standing regression, not worth uplifting.

Set release status flags based on info from the regressing bug 1414825

:tnikkel any update on this?

Have a patch that passes try, still want to think it over with fresh eyes to make sure my logic is sound.

Pushed by tnikkel@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1cf8313960e0 Use one shutdown observer for all ImageBitmaps. r=gfx-reviewers,lsalzman
Flags: needinfo?(tnikkel)
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch

:tnikkel thank you! i think this can ride the 117 train, but let me know if you think otherwise

Regressions: 1845372
Regressions: 1846528
Regressions: CVE-2023-5175
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: