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

GC: avoid pathological behaviour; fixes #10040 [backport] #10052

Merged
merged 1 commit into from
Dec 20, 2018

Conversation

Araq
Copy link
Member

@Araq Araq commented Dec 20, 2018

No description provided.

@Araq
Copy link
Member Author

Araq commented Dec 20, 2018

so that if you're using 8GB of GC and need to allocate 1 Byte more, instead of becoming 16GB which may be overly costly, it'll become more like 4GB + 1 large value

Yeah but then you need to watch out that the logic cannot go into bad cycles 8GB + X, 8GB, 8BG + X, and so on. It's usually not worth it.

@Araq Araq merged commit cd65e53 into devel Dec 20, 2018
@narimiran narimiran deleted the araq-gc-attack-fix branch January 2, 2019 11:21
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