Skip to content

Remove GC.GetTotalMemory from gc.collect - #2103

Merged
slozier merged 1 commit into
IronLanguages:mainfrom
slozier:collect
Oct 18, 2026
Merged

slozier merged 1 commit into
IronLanguages:mainfrom
slozier:collect

Conversation

@slozier

@slozier slozier commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

Mono 6.14 on arm64 can spin forever in GC.GetTotalMemory, which hung the macOS net462 test runs. Since the return value was an estimate of bytes freed rather than the count of collected and uncollectable objects documented by Python, remove it and return None like PyPy.

@slozier
slozier merged commit bc36178 into IronLanguages:main Oct 18, 2026
35 checks passed
@slozier
slozier deleted the collect branch October 18, 2026 20:58
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