Open Bug 1702457 Opened 4 years ago Updated 3 months ago

Investigate reducing tracer boilerplate when adding new GC things

Categories

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

task

Tracking

()

People

(Reporter: jonco, Unassigned)

References

(Blocks 1 open bug)

Details

When adding a new kind of GC thing you end up having to add a method to several different tracer kinds accept your new GC thing. E.g. one instance is ClearEdgesTracer:

https://searchfox.org/mozilla-central/source/js/src/gc/GC.cpp#9204-9235

It may be possible to common up this boilerplate so this only happens in one place.

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