summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-23 08:22:05 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-23 08:22:05 +0000
commit699e06a88421cf325f8d191dc8582ab8cb7aa92f (patch)
treedac865490e1264d76a7d913d6e5baa71b6def508 /gc.c
parent95170c704cdb84c318399e47c2867e3ce6034ba3 (diff)
gc.c: revert r40898
* gc.c (gc_profile_dump_on): revert r40898. ok to show the record accumulating while lazy_sweep(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gc.c b/gc.c
index 7fa85ae0ce..81ac411403 100644
--- a/gc.c
+++ b/gc.c
@@ -5002,7 +5002,6 @@ gc_profile_dump_on(VALUE out, VALUE (*append)(VALUE, VALUE))
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"));