Closed Bug 1702456 Opened 3 years ago Closed 3 years ago

Reduce the number of finalize phases

Categories

(Core :: JavaScript: GC, task, P3)

task

Tracking

()

RESOLVED FIXED
96 Branch
Tracking Status
firefox96 --- fixed

People

(Reporter: jonco, Assigned: jonco)

Details

Attachments

(1 file)

We used to have to finalize GC things in several phases, because some finalizers depended on accessing GC things of other kinds that weren't yet finalized.

I think most of these restrictions have been removed so we should be able to reduce the number of finalize phases considerably. The only one I can think of is BaseScript::finalize that does a bunch of stuff that may depend on other GC things.

This removes most of the phases so there's just object and non-object.

Assignee: nobody → jcoppeard
Status: NEW → ASSIGNED
Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4bed76049888
Reduce the number of finalize phases r=sfink
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: