-
Notifications
You must be signed in to change notification settings - Fork 71
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
Testing scavenger tenuring #588
Conversation
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.
Good! Thanks
There are some perm space test failing, are they related? |
I've seen the same tests fail in another PR, I don't think they are related to this one |
- New abstractions - Bye duplicated logic - Classifying
the dots are the scavenge thresholds? this means that we are periodically wrongly tenuring 2MB of objects in this scenario, right? |
also the second graph required 2/3 of the scavenges... |
Yes! |
The bench of the second graph was shorter (it was in interactive mode), so I don't know the impact on the amount of scavenges. |
Thanks! |
With @jordanmontt we started to profile the GC activity, especially the Scavenger.
Looking at the code, we realised that the Tenuring algorithm was not tested.
Then we realise that the Scavenger had a bug setting the
tenureThreshold
, so the tenuring is not working as expected.In this PR:
tenureThreshold
computation was fixed (it was setting it in the wrong semi-space)