LLAM v3.0.1

Capability and fallback policy

Edit pageReport a problemLast modified: 04 November 2026

How LLAM resolves a requested preemption mode when asynchronous capture is not available. This state is private: it adds no public structs, symbols, or stats fields.

On this page

Scope

The compatibility path retains private runtime capability/fallback state around cooperative preemption modes and the Linux x86-64 context experiment. It does not add public C structs, symbols, stats fields, or language bindings. Compiler-emitted .llam.preempt records are not automatically loaded or registered; callers must use the existing experimental safe-range registration path before enabling async capture.

Policy

Requested mode Effective policy Async range behavior
OFF off No automatic requests or capture
COOPERATIVE cooperative Safepoint behavior only; async is refused
AUTO / STRICT, backend unavailable or disabled cooperative Requests fall back to LLAM boundaries; unsupported enable returns ENOTSUP
AUTO / STRICT, backend active with ranges hybrid Registered safe PCs may capture; unknown/unregistered PCs defer to a later safepoint

The table describes explicitly selected compatibility runtimes. Ordinary constructors use required asynchronous admission; see managed C for compiler qualification and the public requested/effective policy query.

The capability record retains compiled-backend bits (including the version-1 metadata parser), async backend state, registered-range count, and a typed failure reason. Default AUTO does not implicitly enable signal handlers, choose a signal, or register code in a compatibility runtime.

Observability and ABI

The internal text dump reports effective policy, compiled backends, async state, fallback reason, registered safe ranges, async requests/captures/resumes, deferred unsafe/stale requests, signal collisions, copied context bytes, and maximum request-to-capture acknowledgment latency. It also retains the existing foreign detach/reacquire and relief-worker counters. Public statistics and the JSON stats schema are unchanged. An ABI-minor capability query can be considered later if consumers require a stable programmatic capability interface.

↑↓ Navigate↵ Openesc CloseSearching the 3.0.1 docs