diff options
author | Peter Zhu <[email protected]> | 2025-05-20 15:34:47 -0400 |
---|---|---|
committer | Peter Zhu <[email protected]> | 2025-05-21 11:27:02 -0400 |
commit | ac23fa09029a2db4045b03b377133f770cb25327 (patch) | |
tree | 2016493b4aa330d100bd3fda7d3128113e7c1b71 /class.c | |
parent | b4c900debdc4d757d42d6eee5d72b911db45ff45 (diff) |
Use rb_id_table_foreach_values for mark_cc_tbl
We don't need the key, so we can improve performance by only iterating
on the value.
This will also fix the MMTk build because looking up the key in
rb_id_table_foreach requires locking the VM, which is not supported in
the MMTk worker threads.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13386
Diffstat (limited to 'class.c')
0 files changed, 0 insertions, 0 deletions