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

# of objects traced / moved #1006

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

udesou
Copy link
Contributor

@udesou udesou commented Oct 31, 2023

This PR adds the option to count the number of objects traced and moved in Immix GCs. In combination with STRESS_DEFRAG and DEFRAG_EVERY_BLOCK it can give an indication of how many objects are being transitively pinned (and pinned using the pin bit) and therefore cannot be copied.

@wks
Copy link
Collaborator

wks commented Oct 31, 2023

... In combination with STRESS_DEFRAG and DEFRAG_EVERY_BLOCK ...

You also need to set Defrag::DEFRAG_HEADROOM_PERCENT = 50 so that there is enough room for defragmentation. Otherwise it will copy 2% of the heap size and then stop copying.

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