FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Exercise clocks and timer polling during imported GC allocations by carsonfarmer · Pull Request #78 · bytecodealliance/componentize-go · GitHub

Exercise clocks and timer polling during imported GC allocations - #78

Draft
carsonfarmer wants to merge 1 commit into
bytecodealliance:mainfrom
carsonfarmer:cf/gc-clock-timer-regression
Draft

Exercise clocks and timer polling during imported GC allocations#78
carsonfarmer wants to merge 1 commit into
bytecodealliance:mainfrom
carsonfarmer:cf/gc-clock-timer-regression

Conversation

carsonfarmer commented Sep 11, 2026
edited
Loading

Copy link
Copy Markdown

Strengthen the memory-pressure test from #60 to catch the remaining GC traps from #56. Retain large imported strings, initialize a timer, and assert that GC ran during the finite workload.

The test fails with the current adapter and passes with the Wasmtime fix on Go 1.26.3 and 1.27.1. Draft until the embedded adapter includes that fix.

Addresses #77.

Strengthen the finite memory-pressure fixture with retained large imported strings, an initialized timer, and a GC count assertion. This regression requires the companion preview1 adapter fix before it can pass with the embedded adapter.

Co-authored-by: Codex <noreply@openai.com>

Copy link
Copy Markdown
Author

The failing macOS job hits cannot leave component instance in poll_oneoff during Go GC—the timer-polling bug this regression is intended to catch. CI still uses the existing embedded adapter.

This PR remains a draft until the adapter fix in bytecodealliance/wasmtime#14319 lands and componentize-go updates its embedded adapter. The strengthened test passes locally with that fix; the current CI failure is expected while that dependency is outstanding.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL