Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[draft] revert membalancer, but keep the per-page accounting #51644

Closed
wants to merge 2 commits into from

Conversation

d-netto
Copy link
Member

@d-netto d-netto commented Oct 9, 2023

See PR's title.

Just a draft for now, performance hasn't been assessed yet.

gbaraldi and others added 2 commits October 9, 2023 12:12
Fix unintended change

Move membalancer to an ifdef

Don't use square root logic because there are questions about it as well

Move allocation to ratio to a number more similar to 1.9

Fix MEMBALANCER code

Add GOGC like variable to control GC frequency

Add null check

Add the batch functions
+ adjust the target heap if too much gets freed out of GC
+ add the counted realloc size to the old gen

Whitespace
@d-netto d-netto added the GC Garbage collector label Oct 9, 2023
@d-netto d-netto marked this pull request as draft October 9, 2023 15:28
@d-netto
Copy link
Member Author

d-netto commented Oct 20, 2023

Closed in favor of #51661.

@d-netto d-netto closed this Oct 20, 2023
@giordano giordano deleted the dcn-old-heuristics-new-accounting branch February 25, 2024 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GC Garbage collector
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants