summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2026-01-02 16:37:25 -0500
committergit <svn-admin@ruby-lang.org>2026-01-03 00:02:22 +0000
commit2f4119eaea5416ae69c9256a72ab98237e221b91 (patch)
tree9d33bc8ea54b7ba92a23efb85fb97373253f94bb
parent60d9b10dab9c9e92518f5579e6d36006c0dd359d (diff)
[ruby/mmtk] Use rb_mmtk_gc_thread_bug for rb_mmtk_call_object_closure
https://github.com/ruby/mmtk/commit/308936296a
-rw-r--r--gc/mmtk/mmtk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gc/mmtk/mmtk.c b/gc/mmtk/mmtk.c
index fc1fa8bd2e..2c447b0d38 100644
--- a/gc/mmtk/mmtk.c
+++ b/gc/mmtk/mmtk.c
@@ -851,7 +851,7 @@ rb_mmtk_call_object_closure(VALUE obj, bool pin)
char parent_obj_info_buf[info_size];
rb_raw_obj_info(parent_obj_info_buf, info_size, marking_parent_object);
- rb_bug("try to mark T_NONE object (obj: %s, parent: %s)", obj_info_buf, parent_obj_info_buf);
+ rb_mmtk_gc_thread_bug("try to mark T_NONE object (obj: %s, parent: %s)", obj_info_buf, parent_obj_info_buf);
}
return (VALUE)rb_mmtk_gc_thread_tls->object_closure.c_function(