[ruby-cvs:65146] ko1:r57980 (trunk): add several counters to analyze ivar inline caches.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Wed Mar 15 17:25:58 JST 2017


ko1	2017-03-15 17:25:58 +0900 (Wed, 15 Mar 2017)

  New Revision: 57980

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

  Log:
    add several counters to analyze ivar inline caches.
    
    * debug_counter.h: add (and renamed) several counters:
      ivar_get_ic_hit
      ivar_get_ic_miss
      ivar_get_ic_miss_serial
      ivar_get_ic_miss_unset
      ivar_get_ic_miss_noobject
      ivar_set_ic_hit
      ivar_set_ic_miss
      ivar_set_ic_miss_serial
      ivar_set_ic_miss_unset
      ivar_set_ic_miss_oorange
      ivar_set_ic_miss_noobject
      ivar_get_base
      ivar_set_base
    
      See related source code to know what counters mean.

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


More information about the ruby-cvs mailing list