summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-08 01:54:08 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-08 01:54:08 +0000
commitf16b6fc5abbaca303e22b398acec751f0a6ea0ed (patch)
tree54f40aa6367598e39224f8875b9158a450e529d4
parent67e5129a3a8ebb7f88f0d4af359051fdc1603461 (diff)
gc.c: disable gc_rest after finalization
* gc.c (rb_objspace_call_finalizer): disable provisionally gc_rest as it breaks RVALUE consistency. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--gc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gc.c b/gc.c
index 104dac2b5e..81c7089d4b 100644
--- a/gc.c
+++ b/gc.c
@@ -2624,11 +2624,13 @@ rb_objspace_call_finalizer(rb_objspace_t *objspace)
finalizer_table = 0;
ATOMIC_SET(finalizing, 0);
+#if 0
/*
* finish any lazy sweeps that may have been started
* when finalizing the objects in the heap
*/
gc_rest(objspace);
+#endif
}
static inline int