Skip to content

Commit 2f4119e

Browse files
peterzhu2118matzbot
authored andcommitted
[ruby/mmtk] Use rb_mmtk_gc_thread_bug for rb_mmtk_call_object_closure
ruby/mmtk@308936296a
1 parent 60d9b10 commit 2f4119e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gc/mmtk/mmtk.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ rb_mmtk_call_object_closure(VALUE obj, bool pin)
851851
char parent_obj_info_buf[info_size];
852852
rb_raw_obj_info(parent_obj_info_buf, info_size, marking_parent_object);
853853

854-
rb_bug("try to mark T_NONE object (obj: %s, parent: %s)", obj_info_buf, parent_obj_info_buf);
854+
rb_mmtk_gc_thread_bug("try to mark T_NONE object (obj: %s, parent: %s)", obj_info_buf, parent_obj_info_buf);
855855
}
856856

857857
return (VALUE)rb_mmtk_gc_thread_tls->object_closure.c_function(

0 commit comments

Comments
 (0)