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

ruby-changes:42099

From: nobu <ko1@a...>
Date: Fri, 18 Mar 2016 16:37:12 +0900 (JST)
Subject: [ruby-changes:42099] nobu:r54173 (trunk): gc.c: fix r54115

nobu	2016-03-18 16:37:07 +0900 (Fri, 18 Mar 2016)

  New Revision: 54173

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

  Log:
    gc.c: fix r54115
    
    * gc.c (gc_page_sweep): use the argument objspace.

  Modified files:
    trunk/gc.c
Index: gc.c
===================================================================
--- gc.c	(revision 54172)
+++ gc.c	(revision 54173)
@@ -3453,7 +3453,7 @@ gc_page_sweep(rb_objspace_t *objspace, r https://github.com/ruby/ruby/blob/trunk/gc.c#L3453
     if (heap_pages_deferred_final && !finalizing) {
         rb_thread_t *th = GET_THREAD();
         if (th) {
-	    gc_finalize_deferred_register(rb_objspace_of(th->vm));
+	    gc_finalize_deferred_register(objspace);
         }
     }
 

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

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