We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ba9be7 commit 7c3a66eCopy full SHA for 7c3a66e
1 file changed
gc.c
@@ -1953,9 +1953,11 @@ obj_free_object_id(VALUE obj)
1953
GC_ASSERT(id);
1954
FL_UNSET(obj, FL_SEEN_OBJ_ID);
1955
1956
+ DURING_GC_COULD_MALLOC_REGION_START();
1957
if (!st_delete(id_to_obj_tbl, &id, NULL)) {
1958
rb_bug("Object ID seen, but not in id_to_obj table: %s", rb_obj_info(obj));
1959
}
1960
+ DURING_GC_COULD_MALLOC_REGION_END();
1961
1962
else {
1963
0 commit comments