Goal
Add one Context-owned host pressure checkpoint that safely reclaims precise-GC/slab and executable-code memory under the existing movement, shared-realm, and execution-epoch protocols, with an exact machine-readable result.
Scope
- Add a public Zig
Contextpressure API that enters the GC/JIT conductor once, retires live native artifacts, performs a precise compacting collection when movement is safe, and releases eligible cell-slab tails. - Return versioned before/after heap, native mapping, and slab/reclamation fields plus explicit per-domain status; unsupported movement or a non-owner shared realm must remain visible rather than reported as reclaimed.
- Preserve shared ownership: one precise-heap/JIT owner performs reclamation; sibling realms never double-clear or claim shared bytes.
- Keep the ordinary execution path unchanged. No polling, RSS heuristic, background thread, or counter on allocation/dispatch hot paths.
- Feed the result into the memory inventory/benchmark diagnostic boundary without changing scored performance rows.
Acceptance
- GC-off/JIT-off, private precise-GC, JIT, budgeted, shared-realm owner/sibling, active-reader, allocation-failure, and teardown fixtures have exact status and byte deltas.
- A successful pressure checkpoint leaves no retired executable mapping once prior readers release, preserves checksums/identities, and trims every eligible empty tail.
- Unsafe movement fails closed while code retirement remains epoch-safe; no redundant second full collection or repeated recompilation loop is introduced.
- Disabled production use allocates no pressure state and changes no hot path.
- Focused JIT/moving-GC, full unit, no-GIL/TSan, ABI, and benchmark/docs gates pass.
No-workaround rules
No RSS estimate substituted for owned bytes, forced process purge, global JIT disable, unbounded retired epoch, duplicated shared-owner reclamation, collection while roots are unsafe, or a success status that hides a skipped domain.