Skip to content

A test that pins fiber stack reuse; the dead corpus list goes (#501) - #3420

Merged
ehartford merged 1 commit into
mainfrom
fiber-pool-test
Nov 18, 2026
Merged

ehartford merged 1 commit into
mainfrom
fiber-pool-test

Conversation

@ehartford

Copy link
Copy Markdown
Contributor

behav_501_fiber_stack_pool_reuse.w asserts, by the pool's counters only, that the first task allocates one stack and leaves it pooled and the second allocates none and reuses it (§14.19). It fails if a completed stack never returns to the pool or a later task never reuses one.

The retention cap is already pinned by bs_check_runtime_manifest_config in build/selfhost.w (fiber_pool_size = 1: limit 1, one stack pooled after two tasks, a reuse counted).

test/codegen_corpus.txt is deleted: 515 lines naming bootstrap/test/cases/…, a tree that no longer exists, read by nothing.

Battery green on the branch tip (gate, UAT, battery-checks).

…task allocates one stack and leaves it pooled, the second allocates none and reuses it (§14.19). test/codegen_corpus.txt goes: 515 lines naming a bootstrap tree that no longer exists, read by nothing (#501)
@ehartford
ehartford merged commit 670f5d3 into main Nov 18, 2026
@ehartford
ehartford deleted the fiber-pool-test branch November 18, 2026 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant