summaryrefslogtreecommitdiff
path: root/spec/ruby
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2025-06-27 20:51:08 -0700
committerJohn Hawthorn <john@hawthorn.email>2025-07-04 14:54:49 -0700
commit5f1ca8ffbe53f9d8d6c054f18d7524889498aedd (patch)
treefd99b3a4d1c8adc47ae41656c614bf686979b552 /spec/ruby
parent116d11062f743a3d9bca556ce03ebfbe374fffea (diff)
Fix ractor imemo fields write barrier parent
$ RUBY_GC_LIBRARY=wbcheck ./miniruby -e 's = String.new; s.instance_variable_set(:@x, []); Ractor.make_shareable(s, copy: true)' WBCHECK ERROR: Missed write barrier detected! Parent object: 0x7ba8162dc890 (wb_protected: true) rb_obj_info_dump: 0x00007ba8162dc890 T_IMEMO/<fields> Reference counts - snapshot: 2, writebarrier: 0, current: 2, missed: 1 Missing reference to: 0x7ba8162dcad0 rb_obj_info_dump: 0x00007ba8162dcad0 T_ARRAY/Array [E ] len: 0 (embed) WBCHECK SUMMARY: Found 1 objects with missed write barriers (1 total violations)
Diffstat (limited to 'spec/ruby')
0 files changed, 0 insertions, 0 deletions