summaryrefslogtreecommitdiff
path: root/bootstraptest
diff options
context:
space:
mode:
authorJean Boussier <[email protected]>2025-04-04 13:28:51 +0200
committerJean Boussier <[email protected]>2025-04-04 16:26:29 +0200
commit085cc6e43473f2a3c81311a07c1fc8efa46c118b ()
treecbcbe1bcb361879562e8f1240d584de9dce908f3 /bootstraptest
parenteb765913c108fa0e71ab7f9852457a914a7d98f0 (diff)
Ractor: revert to moving object bytes, but size pool aware
Using `rb_obj_clone` introduce other problems, such as `initialize_*` callbacks invocation in the context of the parent ractor. So we can revert back to copy the content of the object slots, but in a way that is aware of size pools.
Notes: Merged: https://.com/ruby/ruby/pull/13070
-rw-r--r--bootstraptest/test_ractor.rb21
1 files changed, 21 insertions, 0 deletions
@@ -2101,3 +2101,24 @@ assert_equal 'ok', %q{
:fail
end
}