The destroyed-allocator trap is recorded as having no site

This commit is contained in:
Joseph Ferano 2026-09-25 10:27:39 +07:00
parent 5581bafacb
commit d1fd323043

View File

@ -1274,7 +1274,8 @@ No ordering of the frees fixes it: the container holds a pointer to the header.
=arena-destroy= now frees the pages and the arena record and retires the
allocator header — epoch bumped, procedure trapping as =DestroyedAllocator=,
never freed — so the stale check reads live memory on every side that makes it.
Rules out freeing the header while any container may hold it. See
Rules out freeing the header while any container may hold it. The
=DestroyedAllocator= trap prints no site: the allocator procedure is given none. See
docs/BUILT.md, "Three amendments to a frozen spec".
** DONE Map removal costs a backward-shift loop