Open Bug 1894937 Opened 5 months ago Updated 22 days ago

Throw away optimized JIT code that references otherwise-dead GC things

Categories

(Core :: JavaScript Engine: JIT, enhancement, P2)

enhancement

Tracking

()

People

(Reporter: jonco, Assigned: bthrall)

References

(Blocks 1 open bug)

Details

(Whiteboard: [sp3])

Following on from bug 1837620, we can investigate doing the same thing for optimized JIT code. This should reduce the amount of garbage we keep alive unnecessarily.

Severity: -- → N/A
Priority: -- → P2
Whiteboard: [sp3]

To clarify, the change here is to apply the changes from bug 1837620 to Ion-compiled JIT code.

This means Ion guard ICs referring to Shapes and JSObject should use weak pointers. Since Ion can inline ICs, we need to make sure those use weak pointers as well.

There might be more GC references in guards that we can make weak pointers, as well. If it is simple enough, we can do that as part of this bug, or make a new bug to cover those changes.

Assignee: nobody → bthrall
You need to log in before you can comment on or make changes to this bug.