Closed Bug 1824102 Opened 2 years ago Closed 2 years ago

Remove Zone::gcNumber

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED FIXED
113 Branch
Tracking Status
firefox113 --- fixed

People

(Reporter: jandem, Assigned: jandem)

References

(Blocks 1 open bug)

Details

(Whiteboard: [sp3])

Attachments

(1 file)

This is very minor, but I've seen it show up in a few profiles now and it's easy to fix.

Since we removed the off-thread parse zones, Zone::gcNumber just returns the runtime's gc number. This means we can remove this function and simplify and optimize the code a little.

It's simpler to get the GC number from the runtime now that these are equivalent.
They used to be different for off-thread parse zones.

Whiteboard: [sp3]
Pushed by jdemooij@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/673dcdbad7c7 Remove Zone::gcNumber now that it just forwards to the runtime. r=sfink
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: