Open Bug 1817241 Opened 2 years ago Updated 1 year ago

The object moved op isn't passed any useful context

Categories

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

task

Tracking

()

People

(Reporter: jonco, Unassigned)

References

(Blocks 1 open bug)

Details

ClassExtension::objectMovedOp is called when an object is moved by generational or compacting GC. We don't pass any context parameter here though so implementations typically need to 'find' a pointer to the GCRuntime or the Nursery or whatever they need.

It would be helpful to pass something here, based on what implementations typically end up using and what callers have to hand.

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