Skip to content

Conversation

@wks
Copy link
Collaborator

@wks wks commented Oct 17, 2025

Currently ConcurrentImmix is not scheduling the VMProcessWeakRefs work packet in FinalMark. Consequently, VM bindings that depend on Scanning::process_weak_refs won't work correctly. We now add VMProcessWeakRefs when scheduling FinalMark, too. We don't add VMForwardWeakRefs because ConcurrentImmix does not have a separate reference forwarding phase.

Currently ConcurrentImmix is not scheduling the `VMProcessWeakRefs` work
packet in FinalMark.  Consequently, VM bindings that depend on
`Scanning::process_weak_refs` won't work correctly.  We now add
`VMProcessWeakRefs` when scheduling FinalMark, too.  We don't add
`VMForwardWeakRefs` because ConcurrentImmix does not have a separate
reference forwarding phase.
@wks wks marked this pull request as draft October 17, 2025 13:54
@wks wks requested a review from qinsoon October 20, 2025 05:48
@wks wks marked this pull request as ready for review October 20, 2025 05:48
Copy link
Member

@qinsoon qinsoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wks wks added this pull request to the merge queue Oct 20, 2025
Merged via the queue into mmtk:master with commit 878098e Oct 20, 2025
32 checks passed
@wks wks deleted the fix/concurrent-immix-process-weak-refs branch October 20, 2025 09:36
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