Skip to main content

Module gc

Module gc 

Source
Expand description

GC integration FFI functions for JIT-compiled code

Provides safepoint polling and root scanning for GC-enabled builds. Without gc feature: no-ops that compile away.

Functionsยง

jit_gc_safepoint
GC safepoint poll called from JIT code at loop headers.
jit_write_barrier
Write barrier for heap pointer overwrites in JIT-compiled code.