Virtual Memory

Virtual memory management.


AsmJit's virtual memory management is divided into two main categories:

  • Low level API that provides cross-platform abstractions for virtual memory allocation. Implemented in VirtMem namespace.
  • High level API that makes it very easy to store generated code for execution. See JitRuntime, which is used by many examples for its simplicity and easy integration with CodeHolder. There is also JitAllocator, which lays somewhere between RAW memory allocation and JitRuntime.