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

Refactor heap_set_increment #4580

Merged
merged 1 commit into from Jun 17, 2021

Conversation

peterzhu2118
Copy link
Member

heap_set_increment essentially only calls heap_allocatable_pages_set. They only differ in behaviour when additional_pages == 0. However, this is only possible because heap_extend_pages may return 0. This commit also changes heap_extend_pages to always return at least 1.

heap_set_increment essentially only calls heap_allocatable_pages_set.
They only differ in behaviour when `additional_pages == 0`. However,
this is only possible because heap_extend_pages may return 0. This
commit also changes heap_extend_pages to always return at least 1.
@peterzhu2118 peterzhu2118 merged commit c639b58 into ruby:master Jun 17, 2021
@peterzhu2118 peterzhu2118 deleted the pz-refactor-heap-set-increment branch June 17, 2021 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant