Project

General

Profile

« Previous | Next » 

Revision 07a5e55f

Added by ko1 (Koichi Sasada) almost 6 years ago

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.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e