Skip to content

Commit 773e7b0

Browse files
committed
sure would be great to GC mark these pointers!
1 parent c0523a1 commit 773e7b0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/gc/roots.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,12 @@ void MVM_gc_root_add_instance_roots_to_worklist(MVMThreadContext *tc, MVMGCWorkl
134134
if (tc->instance->confprog)
135135
MVM_confprog_mark(tc, worklist, snapshot);
136136

137+
add_collectable(tc, worklist, snapshot, tc->instance->subscriptions.subscription_queue,
138+
"VM Event Subscription Queue");
139+
140+
add_collectable(tc, worklist, snapshot, tc->instance->subscriptions.GCEvent,
141+
"VM Event GCEvent type");
142+
137143
MVM_debugserver_mark_handles(tc, worklist, snapshot);
138144
}
139145

0 commit comments

Comments
 (0)