aboutsummaryrefslogtreecommitdiffstats
path: root/gc.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-08 15:16:24 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-08 15:16:24 +0000
commit670c01d90cc92dde8fa3f0e2ca0832723531f87a (patch)
treed6d53a35f810d0a2996448323788ce3894f41c65 /gc.c
parent1a98f56ae14724611fc8f7c220e470d27f6b57e4 (diff)
downloadruby-670c01d90cc92dde8fa3f0e2ca0832723531f87a.tar.gz
gc.c: disable lazy sweeping check
* gc.c (rb_objspace_free): disable provisionally lazy sweeping check. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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);