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

ruby-changes:35100

From: normal <ko1@a...>
Date: Fri, 15 Aug 2014 06:10:13 +0900 (JST)
Subject: [ruby-changes:35100] normal:r47182 (trunk): vm.c (rb_thread_mark): update comment about marking `me'

normal	2014-08-15 06:10:06 +0900 (Fri, 15 Aug 2014)

  New Revision: 47182

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

  Log:
    vm.c (rb_thread_mark): update comment about marking `me'
    
    [ruby-core:64340] [ruby-core:64341]

  Modified files:
    trunk/ChangeLog
    trunk/vm.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 47181)
+++ ChangeLog	(revision 47182)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Aug 15 06:00:56 2014  Eric Wong  <e@8...>
+
+	* vm.c (rb_thread_mark): update comment about marking `me'
+	  [ruby-core:64340] [ruby-core:64341]
+
 Fri Aug 15 05:53:59 2014  Eric Wong  <e@8...>
 
 	* README.EXT: preliminary documentation for RB_GC_GUARD
Index: vm.c
===================================================================
--- vm.c	(revision 47181)
+++ vm.c	(revision 47182)
@@ -2008,7 +2008,8 @@ rb_thread_mark(void *ptr) https://github.com/ruby/ruby/blob/trunk/vm.c#L2008
 		    rb_gc_mark(RUBY_VM_NORMAL_ISEQ_P(iseq) ? iseq->self : (VALUE)iseq);
 		}
 		if (cfp->me) {
-		    /* TODO: marking `me' can be more sophisticated way */
+		    /* bitmap marking `me' does not seem worth the trouble:
+		     * [ruby-core:64340] [ruby-core:64341] */
 		    ((rb_method_entry_t *)cfp->me)->mark = 1;
 		    rb_mark_method_entry(cfp->me);
 		}

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

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