[前][次][番号順一覧][スレッド一覧]

ruby-changes:37460

From: nobu <ko1@a...>
Date: Sun, 8 Feb 2015 10:54:15 +0900 (JST)
Subject: [ruby-changes:37460] nobu:r49541 (trunk): gc.c: disable gc_rest after finalization

nobu	2015-02-08 10:54:08 +0900 (Sun, 08 Feb 2015)

  New Revision: 49541

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49541

  Log:
    gc.c: disable gc_rest after finalization
    
    * gc.c (rb_objspace_call_finalizer): disable provisionally gc_rest
      as it breaks RVALUE consistency.

  Modified files:
    trunk/gc.c
Index: gc.c
===================================================================
--- gc.c	(revision 49540)
+++ gc.c	(revision 49541)
@@ -2624,11 +2624,13 @@ rb_objspace_call_finalizer(rb_objspace_t https://github.com/ruby/ruby/blob/trunk/gc.c#L2624
     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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]