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

ruby-changes:28847

From: nobu <ko1@a...>
Date: Thu, 23 May 2013 17:22:17 +0900 (JST)
Subject: [ruby-changes:28847] nobu:r40899 (trunk): gc.c: revert r40898

nobu	2013-05-23 17:22:05 +0900 (Thu, 23 May 2013)

  New Revision: 40899

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

  Log:
    gc.c: revert r40898
    
    * gc.c (gc_profile_dump_on): revert r40898.  ok to show the record
      accumulating while lazy_sweep().

  Modified files:
    trunk/ChangeLog
    trunk/gc.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 40898)
+++ ChangeLog	(revision 40899)
@@ -1,7 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
-Thu May 23 16:58:01 2013  Nobuyoshi Nakada  <nobu@r...>
+Thu May 23 17:21:22 2013  Nobuyoshi Nakada  <nobu@r...>
 
-	* gc.c (gc_profile_dump_on): do not dump the last record, for some
-	  reason.
+	* gc.c (gc_profile_dump_on): revert r40898.  ok to show the record
+	  accumulating while lazy_sweep().
 
 Wed May 22 16:50:18 2013  Nobuyoshi Nakada  <nobu@r...>
 
Index: gc.c
===================================================================
--- gc.c	(revision 40898)
+++ gc.c	(revision 40899)
@@ -5002,7 +5002,6 @@ gc_profile_dump_on(VALUE out, VALUE (*ap https://github.com/ruby/ruby/blob/trunk/gc.c#L5002
 	size_t i;
 	const gc_profile_record *record;
 
-	--count;		/* do not dump the last record */
 	append(out, rb_sprintf("GC %"PRIuSIZE" invokes.\n", objspace->count));
 	append(out, rb_str_new_cstr("Index    Invoke Time(sec)       Use Size(byte)     Total Size(byte)         Total Object                    GC Time(ms)\n"));
 

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

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