mmtk::util::memory

Function handle_mmap_error

source
pub fn handle_mmap_error<VM: VMBinding>(
    error: Error,
    tls: VMThread,
    addr: Address,
    bytes: usize,
) -> !
Expand description

Properly handle errors from a mmap Result, including invoking the binding code in the case of an OOM error.