Open Bug 1841244 Opened 1 year ago Updated 3 days ago

Consider refactoring discarding JIT code

Categories

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

task

Tracking

()

People

(Reporter: jonco, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [sp3])

Followup to bug 1837620.

Right now Zone::discardJitCode takes a bunch of options as to what to do with JIT code it finds. This is because there may be many objects to loop over and we want avoid running the loop more than once. The number of options has grown however and now includes tracing of weak edges, which is pretty far from the original intent of this method.

There is probably a clearer way to factor all this without sacrificing efficiency.

Whiteboard: [sp3]
You need to log in before you can comment on or make changes to this bug.