Expand description
Rust-only tracing JIT implementation details.
This module consumes VM execution observations directly. It neither reads Evaluation Journal events nor changes HALC.
Re-exports§
pub use backend::CheckedBackend;pub use backend::TraceBackend;pub use hotness::Hotness;pub use hotness::JitConfig;pub use hotness::LoopKey;pub use native::NativeBackend;pub use recorder::RecordError;pub use recorder::TraceRecorder;pub use trace_ir::ExitReason;pub use trace_ir::ExitSnapshot;pub use trace_ir::NumericVectorSlice;pub use trace_ir::Trace;pub use trace_ir::TraceOp;pub use trace_ir::TraceOutcome;pub use trace_ir::TraceValue;
Modules§
- backend
- hotness
- native
- Optional machine-code backend. Trace IR is lowered to a tiny wasm module and Wasmtime/Cranelift compiles that module to host code. This reuses the runtime’s existing native Cranelift dependency and adds nothing to wasm or default builds.
- recorder
- trace_
ir
Structs§
- JitTelemetry
- Per-program tracing-JIT counters. They make it possible to distinguish a cold loop, an unsupported trace, and a trace that is compiled but exits.