Skip to content

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