Skip to main content

record_heap_write

Function record_heap_write 

Source
pub fn record_heap_write()
Expand description

Record a heap write for barrier coverage tracking.

Call this at every heap write site under gc_barrier_debug. The corresponding barrier call increments BARRIER_COUNT. After execution, assert_barrier_coverage() checks that every write was barriered.