[ruby-cvs:70792] ko1:r63701 (trunk): Introduce `USE_GC_MALLOC_OBJ_INFO_DETAILS`. [Feature #14857]

ko1 at ruby-lang.org ko1 at ruby-lang.org
Wed Jun 20 16:53:29 JST 2018


ko1	2018-06-20 16:53:29 +0900 (Wed, 20 Jun 2018)

  New Revision: 63701

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

  Log:
    Introduce `USE_GC_MALLOC_OBJ_INFO_DETAILS`. [Feature #14857]
    
    * include/ruby/defines.h: introduce `USE_GC_MALLOC_OBJ_INFO_DETAILS`
      to show malloc statistics by replace ruby_xmalloc() and so on with
      macros.
    
    * gc.c (struct malloc_obj_info): introduced to save per-malloc information.

  Modified files:
    trunk/gc.c
    trunk/include/ruby/defines.h


More information about the ruby-cvs mailing list