Closed Bug 1627916 Opened 4 years ago Closed 4 years ago

Implement GC tracing for WarpSnapshot GC pointers

Categories

(Core :: JavaScript Engine: JIT, task, P1)

task

Tracking

()

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: jandem, Assigned: jandem)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

No description provided.

Similar to MRootList tracing, trace WarpSnapshot GC pointers in IonCompileTask::trace.

Note that this is only for off-thread compilations. Main thread compilation can't
trigger GC while the snapshot is live.

This simplifies the next patch but also lets us use pattern matching with lambdas.

Depends on D69990

This adds a wrapper type that asserts pointers are tenured. TraceWarpGCPtr now
requires the new type.

Depends on D69991

Priority: -- → P1
Pushed by jdemooij@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/085c7b96440a
part 1 - Trace GC pointers in WarpSnapshot. r=iain
https://hg.mozilla.org/integration/autoland/rev/6ff64e3ecfd3
part 2 - Use mozilla::Variant<> for WarpEnvironment instead of a custom tagged-union. r=iain
https://hg.mozilla.org/integration/autoland/rev/3035f084dcb0
part 3 - Add WarpGCPtr class. r=iain
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: