Commit ac23fa0
committed
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.1 parent b4c900d commit ac23fa0
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2828 | 2828 | | |
2829 | 2829 | | |
2830 | 2830 | | |
2831 | | - | |
| 2831 | + | |
2832 | 2832 | | |
2833 | 2833 | | |
2834 | 2834 | | |
2835 | 2835 | | |
2836 | | - | |
2837 | 2836 | | |
2838 | 2837 | | |
2839 | 2838 | | |
| |||
2861 | 2860 | | |
2862 | 2861 | | |
2863 | 2862 | | |
2864 | | - | |
| 2863 | + | |
2865 | 2864 | | |
2866 | 2865 | | |
2867 | 2866 | | |
| |||
0 commit comments