Open Bug 1902728 Opened 21 days ago Updated 15 days ago

Defer the final release of mPresShell in nsDocumentViewer::DestroyPresShell

Categories

(Core :: Layout, task)

task

Tracking

()

People

(Reporter: jstutte, Assigned: jstutte)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

nsDocumentViewer::DestroyPresShell as last step releases its mPresShell which releases the arena memory. This can be a quite expensive operation, which can be better deferred a bit to block the main thread less long.

Attachment #9407598 - Attachment description: WIP: Bug 1902728 - Defer the final memory release of PresShell. r?emilio → Bug 1902728 - Defer the final memory release of PresShell. r?emilio
Assignee: nobody → jstutte
See Also: → 1776962
See Also: → 1903758

Please run this through CI and speedometer3, including Android numbers. This feels possibly problematic. We should ensure destroy doesn't happen when we're running the next subtest.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: