Skip to content

Commit

Permalink
Adding precompile_field_replace to MMTk's roots
Browse files Browse the repository at this point in the history
  • Loading branch information
udesou committed Jan 16, 2025
1 parent 316f0fe commit 15b498a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gc-mmtk.c
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,8 @@ JL_DLLEXPORT void jl_gc_scan_vm_specific_roots(RootsWorkClosure* closure)
add_node_to_roots_buffer(closure, &buf, &len, jl_emptytuple_type);
add_node_to_roots_buffer(closure, &buf, &len, cmpswap_names);

add_node_to_roots_buffer(closure, &buf, &len, precompile_field_replace);

// jl_global_roots_table must be transitively pinned
RootsWorkBuffer tpinned_buf = (closure->report_tpinned_nodes_func)((void**)0, 0, 0, closure->data, true);
size_t tpinned_len = 0;
Expand Down

0 comments on commit 15b498a

Please sign in to comment.