ruby-changes:35414
From: ko1 <ko1@a...>
Date: Wed, 10 Sep 2014 11:59:54 +0900 (JST)
Subject: [ruby-changes:35414] ko1:r47496 (trunk): * gc.c (gc_stat): update rdoc.
ko1 2014-09-10 11:59:46 +0900 (Wed, 10 Sep 2014) New Revision: 47496 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47496 Log: * gc.c (gc_stat): update rdoc. Modified files: trunk/ChangeLog trunk/gc.c Index: ChangeLog =================================================================== --- ChangeLog (revision 47495) +++ ChangeLog (revision 47496) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Wed Sep 10 11:59:10 2014 Koichi Sasada <ko1@a...> + + * gc.c (gc_stat): update rdoc. + Wed Sep 10 11:52:08 2014 Koichi Sasada <ko1@a...> * gc.c (gc_stat_internal): rename: Index: gc.c =================================================================== --- gc.c (revision 47495) +++ gc.c (revision 47496) @@ -6408,28 +6408,34 @@ gc_stat_internal(VALUE hash_or_sym) https://github.com/ruby/ruby/blob/trunk/gc.c#L6408 * * The hash includes information about internal statistics about GC such as: * - * { - * :count=>2, - * :heap_used=>9, - * :heap_sorted_length=>11, - * :heap_allocatable_pages=>2, - * :heap_live_slot=>6836, - * :heap_free_slot=>519, + * { + * :count=>0, + * :heap_allocated_pages=>24, + * :heap_sorted_length=>24, + * :heap_allocatable_pages=>0, + * :heap_available_slots=>9783, + * :heap_live_slots=>7713, + * :heap_free_slots=>2070, * :heap_final_slots=>0, - * :heap_swept_slots=>818, - * :total_allocated_objects=>7674, - * :total_freed_objects=>838, - * :malloc_increase=>181034, - * :malloc_limit=>16777216, - * :minor_gc_count=>2, + * :heap_marked_slots=>0, + * :heap_swept_slots=>0, + * :heap_eden_pages=>24, + * :heap_tomb_pages=>0, + * :total_allocated_pages=>24, + * :total_freed_pages=>0, + * :total_allocated_objects=>7796, + * :total_freed_objects=>83, + * :malloc_increase_bytes=>2389312, + * :malloc_increase_bytes_limit=>16777216, + * :minor_gc_count=>0, * :major_gc_count=>0, - * :remembered_shady_object=>55, - * :remembered_shady_object_limit=>0, - * :old_object=>2422, - * :old_object_limit=>0, - * :oldmalloc_increase=>277386, - * :oldmalloc_limit=>16777216 - * } + * :remembered_wb_unprotected_objects=>0, + * :remembered_wb_unprotected_objects_limit=>0, + * :old_objects=>0, + * :old_objects_limit=>0, + * :oldmalloc_increase_bytes=>2389760, + * :oldmalloc_increase_bytes_limit=>16777216 + * } * * The contents of the hash are implementation specific and may be changed in * the future. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/