Skip to main content

walk_frames

Function walk_frames 

Source
pub unsafe fn walk_frames(
    start_rbp: usize,
    stack_maps: &StackMapRegistry,
    start_rsp: usize,
) -> Vec<StackRoot>
Expand description

Walk JIT frames starting from the given RBP, collecting all GC roots.

ยงSafety

  • start_rbp must be a valid frame pointer from within a JIT call chain.
  • stack_maps must contain entries for all JIT functions in the call chain.