1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* remove trailing spaces.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2013-11-05 07:48:31 +00:00
parent 692aab9010
commit 8a9dff36c3
2 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@ Tue Nov 5 13:37:19 2013 Koichi Sasada <ko1@atdot.net>
* gc.c: add support to estimate increase of oldspace memory usage. * gc.c: add support to estimate increase of oldspace memory usage.
This is another approach to solve an issue discussed at r43530. 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 This feature measures an increment of memory consumption by oldgen
objects. It measures memory consumption for each objects when objects. It measures memory consumption for each objects when

4
gc.c
View file

@ -790,7 +790,7 @@ RVALUE_YOUNG_P(VALUE obj)
static inline void static inline void
RVALUE_PROMOTE_YOUNG(VALUE obj) RVALUE_PROMOTE_YOUNG(VALUE obj)
{ {
check_gen_consistency(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)); 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); MARK_IN_BITMAP(GET_HEAP_OLDGEN_BITS(obj), obj);
@ -2891,7 +2891,7 @@ gc_after_sweep(rb_objspace_t *objspace)
if (0) { if (0) {
fprintf(stderr, "%d\t%d\t%d\t%d\t%d\t%d\t%d\n", fprintf(stderr, "%d\t%d\t%d\t%d\t%d\t%d\t%d\n",
(int)rb_gc_count(), (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.minor_gc_count,
(int)objspace->profile.promote_infant_count, (int)objspace->profile.promote_infant_count,
#if RGENGC_THREEGEN #if RGENGC_THREEGEN