diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-08 10:27:06 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-08 10:27:06 +0000 |
commit | a99140631cefb87bd2c443573f4e0de116072080 (patch) | |
tree | 1748eee17939b0d6bc83942d09bb65e4acabeaa4 /vm_insnhelper.c | |
parent | 72ba13aa8e86eb7f12bd17737a689ad2ec214036 (diff) | |
download | ruby-a99140631cefb87bd2c443573f4e0de116072080.tar.gz |
* gc.c: add a build option "CALC_EXACT_MALLOC_SIZE".
This option enables to calculate exact size of current
allocated size by malloc(). You can access these information
with GC.malloc_allocated_size and GC.malloc_allocations.
This option consume additional memory as a header of each memory
object. This option also helps to find out xmalloc()/xfree()
consistency. If you get trouble with this option, some extension
using "free()" instead of "xfree()".
This options is disabled by default.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.c')
0 files changed, 0 insertions, 0 deletions