Repository navigation
A test that pins fiber stack reuse; the dead corpus list goes (#501) - #3420
Merged
Merged
Conversation
…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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
behav_501_fiber_stack_pool_reuse.wasserts, 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_configinbuild/selfhost.w(fiber_pool_size = 1: limit 1, one stack pooled after two tasks, a reuse counted).test/codegen_corpus.txtis deleted: 515 lines namingbootstrap/test/cases/…, a tree that no longer exists, read by nothing.Battery green on the branch tip (gate, UAT, battery-checks).