ruby-changes:31455
From: nobu <ko1@a...>
Date: Tue, 5 Nov 2013 16:48:38 +0900 (JST)
Subject: [ruby-changes:31455] nobu:r43534 (trunk): * remove trailing spaces.
nobu 2013-11-05 16:48:31 +0900 (Tue, 05 Nov 2013) New Revision: 43534 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43534 Log: * remove trailing spaces. Modified files: trunk/ChangeLog trunk/gc.c Index: ChangeLog =================================================================== --- ChangeLog (revision 43533) +++ ChangeLog (revision 43534) @@ -2,7 +2,7 @@ Tue Nov 5 13:37:19 2013 Koichi Sasada https://github.com/ruby/ruby/blob/trunk/ChangeLog#L2 * 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 Index: gc.c =================================================================== --- gc.c (revision 43533) +++ gc.c (revision 43534) @@ -790,7 +790,7 @@ RVALUE_YOUNG_P(VALUE obj) https://github.com/ruby/ruby/blob/trunk/gc.c#L790 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) https://github.com/ruby/ruby/blob/trunk/gc.c#L2891 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/