From 8a9dff36c3c9b14c676b9ef72e645ff403f8b20f Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 5 Nov 2013 07:48:31 +0000 Subject: [PATCH] * remove trailing spaces. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 2 +- gc.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index d43e6dc465..ee6b167c0e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,7 +2,7 @@ Tue Nov 5 13:37:19 2013 Koichi Sasada * gc.c: add support to estimate increase of oldspace memory usage. This is another approach to solve an issue discussed at r43530. - This feature is disabled as default. + This feature is disabled as default. This feature measures an increment of memory consumption by oldgen objects. It measures memory consumption for each objects when diff --git a/gc.c b/gc.c index 4984f890d6..292cb74793 100644 --- a/gc.c +++ b/gc.c @@ -790,7 +790,7 @@ RVALUE_YOUNG_P(VALUE obj) static inline void RVALUE_PROMOTE_YOUNG(VALUE obj) -{ +{ check_gen_consistency(obj); if (RGENGC_CHECK_MODE && !RVALUE_YOUNG_P(obj)) rb_bug("RVALUE_PROMOTE_YOUNG: %p (%s) is not young object.", (void *)obj, obj_type_name(obj)); MARK_IN_BITMAP(GET_HEAP_OLDGEN_BITS(obj), obj); @@ -2891,7 +2891,7 @@ gc_after_sweep(rb_objspace_t *objspace) if (0) { fprintf(stderr, "%d\t%d\t%d\t%d\t%d\t%d\t%d\n", (int)rb_gc_count(), - (int)objspace->profile.major_gc_count, + (int)objspace->profile.major_gc_count, (int)objspace->profile.minor_gc_count, (int)objspace->profile.promote_infant_count, #if RGENGC_THREEGEN