Skip to content

# of objects traced / moved#1006

Draft
udesou wants to merge 2 commits into
mmtk:masterfrom
udesou:feature/count-objects-moved-and-traced
Draft

# of objects traced / moved#1006
udesou wants to merge 2 commits into
mmtk:masterfrom
udesou:feature/count-objects-moved-and-traced

Conversation

@udesou

@udesou udesou commented Oct 31, 2023

Copy link
Copy Markdown
Contributor

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

wks commented Oct 31, 2023

Copy link
Copy Markdown
Collaborator

... 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