ruby-changes:35413
From: ko1 <ko1@a...>
Date: Wed, 10 Sep 2014 11:53:17 +0900 (JST)
Subject: [ruby-changes:35413] ko1:r47495 (trunk): * gc.c (gc_stat_internal): rename:
ko1 2014-09-10 11:53:11 +0900 (Wed, 10 Sep 2014) New Revision: 47495 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47495 Log: * gc.c (gc_stat_internal): rename: * malloc_increase -> malloc_increase_bytes * malloc_limit -> malloc_increase_bytes_limit * oldmalloc_increase -> oldmalloc_increase_bytes * oldmalloc_limit -> oldmalloc_increase_bytes_limit ref: [Feature #9924] Modified files: trunk/ChangeLog trunk/gc.c Index: ChangeLog =================================================================== --- ChangeLog (revision 47494) +++ ChangeLog (revision 47495) @@ -1,3 +1,12 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Wed Sep 10 11:52:08 2014 Koichi Sasada <ko1@a...> + + * gc.c (gc_stat_internal): rename: + * malloc_increase -> malloc_increase_bytes + * malloc_limit -> malloc_increase_bytes_limit + * oldmalloc_increase -> oldmalloc_increase_bytes + * oldmalloc_limit -> oldmalloc_increase_bytes_limit + ref: [Feature #9924] + Wed Sep 10 11:45:40 2014 Koichi Sasada <ko1@a...> * gc.c (gc_stat_internal): rename `heap_used' to `heap_allocated_pages'. Index: gc.c =================================================================== --- gc.c (revision 47494) +++ gc.c (revision 47495) @@ -6260,13 +6260,13 @@ gc_stat_internal(VALUE hash_or_sym) https://github.com/ruby/ruby/blob/trunk/gc.c#L6260 static VALUE sym_heap_eden_pages, sym_heap_tomb_pages; static VALUE sym_total_allocated_pages, sym_total_freed_pages; static VALUE sym_total_allocated_objects, sym_total_freed_objects; - static VALUE sym_malloc_increase, sym_malloc_limit; + static VALUE sym_malloc_increase_bytes, sym_malloc_increase_bytes_limit; #if USE_RGENGC static VALUE sym_minor_gc_count, sym_major_gc_count; static VALUE sym_remembered_wb_unprotected_objects, sym_remembered_wb_unprotected_objects_limit; static VALUE sym_old_objects, sym_old_objects_limit; #if RGENGC_ESTIMATE_OLDMALLOC - static VALUE sym_oldmalloc_increase, sym_oldmalloc_limit; + static VALUE sym_oldmalloc_increase_bytes, sym_oldmalloc_increase_bytes_limit; #endif #if RGENGC_PROFILE static VALUE sym_total_generated_normal_object_count, sym_total_generated_shady_object_count; @@ -6306,8 +6306,8 @@ gc_stat_internal(VALUE hash_or_sym) https://github.com/ruby/ruby/blob/trunk/gc.c#L6306 S(total_freed_pages); S(total_allocated_objects); S(total_freed_objects); - S(malloc_increase); - S(malloc_limit); + S(malloc_increase_bytes); + S(malloc_increase_bytes_limit); #if USE_RGENGC S(minor_gc_count); S(major_gc_count); @@ -6316,8 +6316,8 @@ gc_stat_internal(VALUE hash_or_sym) https://github.com/ruby/ruby/blob/trunk/gc.c#L6316 S(old_objects); S(old_objects_limit); #if RGENGC_ESTIMATE_OLDMALLOC - S(oldmalloc_increase); - S(oldmalloc_limit); + S(oldmalloc_increase_bytes); + S(oldmalloc_increase_bytes_limit); #endif #if RGENGC_PROFILE S(total_generated_normal_object_count); @@ -6355,8 +6355,8 @@ gc_stat_internal(VALUE hash_or_sym) https://github.com/ruby/ruby/blob/trunk/gc.c#L6355 SET(total_freed_pages, objspace->profile.total_freed_pages); SET(total_allocated_objects, objspace->total_allocated_objects); SET(total_freed_objects, objspace->profile.total_freed_objects); - SET(malloc_increase, malloc_increase); - SET(malloc_limit, malloc_limit); + SET(malloc_increase_bytes, malloc_increase); + SET(malloc_increase_bytes_limit, malloc_limit); #if USE_RGENGC SET(minor_gc_count, objspace->profile.minor_gc_count); SET(major_gc_count, objspace->profile.major_gc_count); @@ -6365,8 +6365,8 @@ gc_stat_internal(VALUE hash_or_sym) https://github.com/ruby/ruby/blob/trunk/gc.c#L6365 SET(old_objects, objspace->rgengc.old_objects); SET(old_objects_limit, objspace->rgengc.old_objects_limit); #if RGENGC_ESTIMATE_OLDMALLOC - SET(oldmalloc_increase, objspace->rgengc.oldmalloc_increase); - SET(oldmalloc_limit, objspace->rgengc.oldmalloc_increase_limit); + SET(oldmalloc_increase_bytes, objspace->rgengc.oldmalloc_increase); + SET(oldmalloc_increase_bytes_limit, objspace->rgengc.oldmalloc_increase_limit); #endif #if RGENGC_PROFILE -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/