Remove some AutoGCRooter kinds
Categories
(Core :: JavaScript: GC, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: jonco, Assigned: jonco)
References
Details
Attachments
(4 files)
We can remove some AutoGCRooter kinds, either by using Rooted or making them use CustomAutoRooter where this makes sense.
Ideally we'd remove AutoGCRooter entirely and use Rooted for everything, but it's used for wrapper rooters which are a special case and CustomAutoRooter which is used by DOM bindings.
Assignee | ||
Comment 2•5 years ago
|
||
We can make these kinds use the existing Rooted infrastructure.
Depends on D73292
Assignee | ||
Comment 3•5 years ago
|
||
Depends on D73293
Assignee | ||
Comment 4•5 years ago
|
||
Rename this to RootedSomething for consistency. Let me know if you have a better idea for the name. It's a bit unwieldy but it's only used in a couple of places.
Depends on D73295
Assignee | ||
Comment 5•5 years ago
|
||
Since the parsers have a virtual trace method already we can handle these by making them CustomAutoRooters and get rid of the special kinds.
Depends on D73296
Comment 7•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/468d51ba84c7
https://hg.mozilla.org/mozilla-central/rev/2d04df2a8065
https://hg.mozilla.org/mozilla-central/rev/20f7c76d9f35
https://hg.mozilla.org/mozilla-central/rev/e4aadc2d4945
Description
•