Skip to main content

GC_get_unmapped_bytes

Function GC_get_unmapped_bytes 

Source
pub unsafe extern "C" fn GC_get_unmapped_bytes() -> usize
Expand description

Return the size (in bytes) of the unmapped memory (which is returned to the OS but could be remapped back by the collector later unless the OS runs out of system/virtual memory). This is an unsynchronized getter (see GC_get_heap_size comment regarding thread-safety).