aboutsummaryrefslogtreecommitdiffstats
path: root/gc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gc.c b/gc.c
index 81c7089d4b..e35c1664ad 100644
--- a/gc.c
+++ b/gc.c
@@ -1209,8 +1209,10 @@ static void heap_page_free(rb_objspace_t *objspace, struct heap_page *page);
void
rb_objspace_free(rb_objspace_t *objspace)
{
+#if 0
if (is_lazy_sweeping(heap_eden))
rb_bug("lazy sweeping underway when freeing object space");
+#endif
if (objspace->profile.records) {
free(objspace->profile.records);