Skip to content

--gc-abort to crash on leaks#955

Open
dozreg-toplud wants to merge 7 commits intodevelopfrom
dozreg/leak-crash-flag
Open

--gc-abort to crash on leaks#955
dozreg-toplud wants to merge 7 commits intodevelopfrom
dozreg/leak-crash-flag

Conversation

@dozreg-toplud
Copy link
Contributor

@dozreg-toplud dozreg-toplud commented Feb 2, 2026

Adds a --gc-abort flag which causes the runtime to crash if a leak is encountered, and replaces --gc in the testing bash script with that flag.

Since the tests already run in CI with --gc and -Dmem-dbg, replacing that flag with --gc-abort would allow to catch memory leaks earlier in development

@dozreg-toplud dozreg-toplud requested a review from a team as a code owner February 2, 2026 19:26
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