[ruby-cvs:71959] ko1:r64867 (trunk): add debug counters more.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Fri Sep 28 10:10:43 JST 2018


ko1	2018-09-28 10:10:43 +0900 (Fri, 28 Sep 2018)

  New Revision: 64867

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64867

  Log:
    add debug counters more.
    
    * debug_counter.h: add the following counters.
      * frame_push: control frame counts (total counts).
      * frame_push_*: control frame counts per every frame type.
      * obj_*: add free'ed counts for each type.
    
    * gc.c: ditto.
    
    * vm_insnhelper.c (vm_push_frame): ditto.
    
    * debug_counter.c (rb_debug_counter_show_results): widen counts field
      to show >10G numbers.

  Modified files:
    trunk/debug_counter.c
    trunk/debug_counter.h
    trunk/gc.c
    trunk/vm_insnhelper.c


More information about the ruby-cvs mailing list