Skip to main content

Module kernel_assist

Module kernel_assist 

Source
Expand description

σ-aware [javm::KernelAssist] implementation.

After the javm-cap consolidation (Commits 1-3 of the cap-type plan) the kernel assist holds only the ephemeral per-block kernel state — gas meters, storage quotas, yield catchers, file_id ↔ cache-reference mapping. Cap content lives in σ’s cache and is looked up through there; this trait surface no longer reaches into σ.

Vm::invoke_cached resolves DataCap sizes before calling into this trait, so host_save debits the actual logical byte size while this type remains free of direct cache ownership.

Structs§

SigmaKernelAssist
σ-aware KernelAssist. Owns only ephemeral per-block kernel state.