Skip to main content

Module memory

Module memory 

Source
Expand description

Module: memory

Responsibility: adapt Canic stable-memory declarations to ic-memory bootstrap. Also owns physical stable-memory extent observation for runtime metrics. Does not own: stable data schemas, ops storage APIs, or lifecycle orchestration. Boundary: lifecycle initializes this before stable structures are accessed.

Modules§

admission
Module: memory::admission
registry
Module: memory::registry
runtime
Module: memory::runtime

Macros§

ic_memory_key
Declare a stable-memory slot with an explicit authority and ABI-stable key.
ic_memory_range
Declare a MemoryManager ID range owned by an explicit authority.
memory_bootstrap_admission
Register the artifact’s composed memory admission before Canic bootstrap.

Structs§

CanicMemoryManagerPolicy
CanicMemoryManagerPolicy

Constants§

CANIC_CONTROL_PLANE_MEMORY_AUTHORITY
Stable allocation-policy authority for Canic control-plane memory declarations.
CANIC_CORE_MEMORY_AUTHORITY
Stable allocation-policy authority for Canic core memory declarations.

Functions§

configured_bucket_pages
Bucket size compiled into this artifact, in 64 KiB Wasm pages.