Skip to main content

Module backend

Module backend 

Source

Structsยง

BackendState ๐Ÿ”’
All backend-thread-owned mutable state.
CompileJitRequest ๐Ÿ”’
An explicit JIT compilation request.
EntryState ๐Ÿ”’
Per-key state tracked by the backend.
PrepareAotRequest ๐Ÿ”’
An explicit AOT preparation request.
ResidentMeta ๐Ÿ”’
Per-entry metadata tracked alongside the resident map for eviction decisions.

Enumsยง

AdmitMode ๐Ÿ”’
Whether a JIT admission request was triggered by hot-path observation (gated on hotness + cold-entry cap) or by an explicit user request (unconditional, may carry a sync notifier).
Command ๐Ÿ”’
Commands sent to the backend thread on the bounded command channel.
EntryPhase ๐Ÿ”’
Phase of a backend entry.

Functionsยง

jit_total_bytes ๐Ÿ”’
Returns the total bytes of JIT-allocated memory via the memory plugin.
run ๐Ÿ”’
Runs the backend event loop. Called on the backend thread.

Type Aliasesยง

EventQueue ๐Ÿ”’
Bounded MPMC lock-free queue of lookup-observed events.
ResidentMap ๐Ÿ”’
The resident map type: code_hash+spec_id โ†’ compiled program.