Closed Bug 1900001 Opened 9 months ago Closed 8 months ago

GCRuntime::markGrayRoots has unused template parameter

Categories

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

task

Tracking

()

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: jonco, Assigned: jonco)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

While investigating bug 1896973 I noticed that the markGrayRoots method takes a zone iterator as a template parameter to tell it which zones to mark in, but it doesn't use it. Nowadays we use the zone state to control which zones have their gray roots marked.

This removes the unused template parameter and adds assertions that the right
zones are getting marked.

While doing this I found some other inconsistencies that interferred with
adding these assertions, which I straightened out as well.

Blocks: GC.easeofuse
Severity: -- → N/A
Priority: -- → P1
Pushed by jcoppeard@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/eb7c8d6e6e73 Remove unused template parameter from GCRuntime::markGrayRoots and add assertions r=sfink
Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
Regressions: 1902139
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: