Skip to content

Define GC pause and progress contract#2339

Merged
proggeramlug merged 1 commit into
PerryTS:mainfrom
andrewtdiz:codex/gc-pause-budget-contract
May 29, 2026
Merged

Define GC pause and progress contract#2339
proggeramlug merged 1 commit into
PerryTS:mainfrom
andrewtdiz:codex/gc-pause-budget-contract

Conversation

@andrewtdiz
Copy link
Copy Markdown
Contributor

Summary

  • Define Perry's low-pause GC progress contract and bounded budget model.
  • Add telemetry shape for progress kind, budget unit, configured work budget, and soft pause target.
  • Add focused runtime tests that lock the contract before the larger resumable-cycle PRs land.

Verification

running 4 tests
....
test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 746 filtered out; finished in 0.00s

This is the first small PR in the GC runtime improvement train; it is intentionally contract/scaffolding only so the later resumable-cycle and barrier/root PRs have a stable review target.

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.

2 participants