Skip to content

Conversation

@eightbitraptor
Copy link
Contributor

gc_sweep_step sweeps either the whole heap during a major GC, or 2048 slots during a minor GC.

This PR changes 2048 to be defined by the pre-processor, instead of hardcoded into the source.

@eightbitraptor eightbitraptor force-pushed the mvh-swept-slots-magic-number branch from 7a403d2 to b5971ac Compare March 25, 2022 22:14
@eightbitraptor eightbitraptor force-pushed the mvh-swept-slots-magic-number branch from b5971ac to 0f01b89 Compare March 31, 2022 09:36
@peterzhu2118 peterzhu2118 merged commit bb037f6 into ruby:master Mar 31, 2022
@peterzhu2118 peterzhu2118 deleted the mvh-swept-slots-magic-number branch March 31, 2022 18:40
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