interp: release execution heaps on allocation failure
This commit is contained in:
1 parent
0387405d48
commit
fb80413b37
4 files changed
+130
-3
No files matched your search
@@ -514,3 +514,9 @@ Units/format checks, shallow/deep key-boundary and OOM tests, generic/static-fun
|
||||
Q-059 is resolved for the [compiler type-traversal inventory](../design/type-traversal-inventory.md). The final repair removes a confirmed `typeOfNoFail` failure reached through shallow field expressions; complete checks accept 16,384/65,536 nested field-array levels. The best-effort query retains its type classification and OOM-to-null contract without publishing partial output. Independent shallow/deep/allocation tests, units/format checks, all 1,793 conformance cases with exact coverage, nominal CLI integration (130 checks) and byte-identical old/new source checks/lowerings (1,423/506) pass.
|
||||
|
||||
This closes type descent, not arbitrary expression/statement recursion (inspection-only Q-061), Q-056 policy, Q-060's unfinished full per-step GC validation or Phase 6 exit review. No normative/bundle/feature/code or acceptance-limit changes; Claude's earlier nominal-property review does not cover these later frontend increments.
|
||||
|
||||
## Runtime error-exit cleanup (2026-10-10)
|
||||
|
||||
The [Q-060 closing inspection](../design/runtime-value-depth-audit.md#closing-runtime-paths-and-error-exit-cleanup) repairs an execution-arena leak when host OOM interrupts execution or result copying. Deferred cleanup retains the public API, successful output lifetime, fuel, quotas and collection safe points. Exhaustive caller/heap allocator failures pass under ordinary/per-step collection; units, format checks, test-extended, all 1,793 ordinary conformance cases with exact coverage and 29 exact old/new fuel/value CLI pairs pass.
|
||||
|
||||
The earlier Debug full GC process is also still live, as is ReleaseSafe; host namespace inspection corrects the previous termination inference. Conformance now flushes each completed result, and an additional focused std GC run has live progress. These are unfinished validation, not full passes. Q-060 and Phase 6 exit gates remain open; no normative/bundle/feature/code/acceptance-limit change or new Claude review is claimed.
|
||||
Reference in new issue
Block a user