We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ee8eaef + ae69d69 commit 454cdf8Copy full SHA for 454cdf8
1 file changed
gc/mmtk/mmtk.c
@@ -333,10 +333,9 @@ rb_mmtk_call_obj_free(MMTk_ObjectReference object)
333
334
rb_gc_obj_free(objspace, obj);
335
336
- // TODO: uncomment this when done debugging
337
-// #ifdef MMTK_DEBUG
+#ifdef MMTK_DEBUG
338
memset((void *)obj, 0, rb_gc_impl_obj_slot_size(obj));
339
-// #endif
+#endif
340
}
341
342
static size_t
0 commit comments