diff options
author | Peter Zhu <[email protected]> | 2025-01-23 10:28:29 -0500 |
---|---|---|
committer | Peter Zhu <[email protected]> | 2025-01-27 10:28:36 -0500 |
commit | 9e5ff79c5be426c3e6fef80449620075cbca7671 (patch) | |
tree | 3a70f38aabbe1481962a95bcb5546d25ef7bbf65 /gc/default/default.c | |
parent | c3c7300b8924142173d6d16a9357468ba07d1da2 (diff) |
Optionally traverse non-weak references in rb_gc_vm_weak_table_foreach
For moving garbage collectors, we may want to combine liveliness checking
with reference updating for performance. This commit allows for non-weak
references to be passed into the callback function when weak_only is false.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12629
Diffstat (limited to 'gc/default/default.c')
0 files changed, 0 insertions, 0 deletions