summaryrefslogtreecommitdiff
path: root/internal/gc.h
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 (patch)
treecbcbe1bcb361879562e8f1240d584de9dce908f3 /internal/gc.h
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
Notes: Merged: https://github.com/ruby/ruby/pull/13070
Diffstat (limited to 'internal/gc.h')
-rw-r--r--internal/gc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/gc.h b/internal/gc.h
index 454f8ec685..4e9b4554e8 100644
--- a/internal/gc.h
+++ b/internal/gc.h
@@ -183,7 +183,6 @@ struct rb_gc_object_metadata_entry {
/* gc.c */
RUBY_ATTR_MALLOC void *ruby_mimmalloc(size_t size);
RUBY_ATTR_MALLOC void *ruby_mimcalloc(size_t num, size_t size);
-void rb_gc_ractor_moved(VALUE dest, VALUE src);
void ruby_mimfree(void *ptr);
void rb_gc_prepare_heap(void);
void rb_objspace_set_event_hook(const rb_event_flag_t event);