-
Notifications
You must be signed in to change notification settings - Fork 102
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
Only run GC 3 times instead of 4 to scrub #350
Conversation
Per slack, 'Diogo changed it so it only needs 3 to promote everything to old generation now'.
Diogo Netto liked the comment on Slack so I'll take that as a green flag. Have asked him for a review nonetheless to avoid screwing up |
Olá boa tarde eu não entendi direito o sentido da notificação?
Em qua., 3 de jan. de 2024 14:08, Guillaume Dalle ***@***.***>
escreveu:
… @Diogo-netto <https://github.com/Diogo-Netto> liked the comment on Slack
so I'll take that as a green flag
—
Reply to this email directly, view it on GitHub
<#350 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BABOSY45WBJVJPTICGV4VHTYMWGCBAVCNFSM6AAAAABBIFJTIWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGY4TKMJTGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Sorry I tagged the wrong Diogo Netto 🤣 |
Sem problemas 😃
Em qua., 3 de jan. de 2024 14:50, Guillaume Dalle ***@***.***>
escreveu:
… Sorry I tagged the wrong Diogo Netto 🤣
—
Reply to this email directly, view it on GitHub
<#350 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BABOSY4HW5YWSGBKXGDYYLLYMWLAHAVCNFSM6AAAAABBIFJTIWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVG42DMOJVGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the goal of gcscrub
is to ensure all objects reach the oldest generation, then this PR conforms with the changes we introduced in the GC in v1.10.
Want to note that since you are relying on internal GC behavior here (which we're free to change in any version), then it might be a good idea to guard these changes under a version check: i.e. put a @static if VERSION=1.10
or alike.
@Zentrik wanna add that to make sure that on <= 1.9 we do 4 sweeps and on >= 1.10 we do 3? |
Per slack, 'Diogo changed it so it only needs 3 to promote everything to old generation now'.