diff options
author | Peter Zhu <[email protected]> | 2025-05-20 13:03:09 -0400 |
---|---|---|
committer | git <[email protected]> | 2025-05-21 02:30:33 +0000 |
commit | 27b0638386de460fde4a9fc3adb35400994aa2fa () | |
tree | 026d3fc1b682bafa7e1af8392d42515d520da9ba /lib/rubygems/source.rb | |
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://.com/ruby/mmtk/commit/922f22a690
0 files changed, 0 insertions, 0 deletions