Skip to main content

gc_trigger

Function gc_trigger 

Source
pub extern "C" fn gc_trigger(vmctx: *mut VMContext)
Expand description

GC trigger: called by JIT code when alloc_ptr exceeds alloc_limit.

This function MUST be compiled with frame pointers preserved (the whole crate uses preserve_frame_pointers, and the Rust profile should have force-frame-pointers = true for the gc path).

The frame walker in gc_trigger reads RBP to walk the JIT stack.