diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2025-05-20 13:03:09 -0400 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2025-05-21 02:30:33 +0000 |
| commit | 27b0638386de460fde4a9fc3adb35400994aa2fa (patch) | |
| tree | 026d3fc1b682bafa7e1af8392d42515d520da9ba /include/ruby | |
| parent | 1c66124273ec37e1c359fc327ab25be99a6f7fa9 (diff) | |
[ruby/mmtk] Fix object ID for finalizers
We should get the object ID for finalizers in rb_gc_impl_define_finalizer
instead of when we create the finalizer job in make_final_job because
when we are in multi-Ractor mode, object ID needs to walk the references
which allocates an identity hash table. We cannot allocate in make_final_job
because it is in a MMTk worker thread.
https://github.com/ruby/mmtk/commit/922f22a690
Diffstat (limited to 'include/ruby')
0 files changed, 0 insertions, 0 deletions
