Skip to content

Conversation

@wks
Copy link
Collaborator

@wks wks commented Aug 26, 2025

The ruby repo is merged with master on 2025-08-25. The upstream is
now using rb_gc_mark_weak for more fields. In response to that, we
properly implemented the handling of weak fields when using MMTk.
However, we are now temporarily treating WeakMap as a strong map because
it needs to be rehashed during the weak reference processing phase. We
also added eBPF probes for weak fields.

wks added 3 commits August 25, 2025 23:45
We allow the C part to discover weak fields during tracing so that we
will clear or forward them during the weak reference processing phase.
The `ruby` repo is merged with `master` on 2025-08-25.  The upstream is
now using `rb_gc_mark_weak` for more fields.  In response to that, we
properly implemented the handling of weak fields when using MMTk.
However, we are now temporarily treating WeakMap as a strong map because
it needs to be rehashed during the weak reference processing phase.  We
also added eBPF probes for weak fields.
@wks wks merged commit b284ec9 into mmtk:master Aug 26, 2025
10 checks passed
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.

1 participant