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 | 514d65881b942ff7a034a0eea518bd36a62829e7 (patch) | |
| tree | 1748eee17939b0d6bc83942d09bb65e4acabeaa4 /ChangeLog | |
| parent | 3edaf669ba25bcceebb8e4d6d3b2f9e338b35b94 (diff) | |
| download | ruby-514d65881b942ff7a034a0eea518bd36a62829e7.tar.gz ruby-514d65881b942ff7a034a0eea518bd36a62829e7.tar.xz ruby-514d65881b942ff7a034a0eea518bd36a62829e7.zip | |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@17018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
| -rw-r--r-- | ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1,3 +1,15 @@ +Sun Jun 8 19:17:59 2008 Koichi Sasada <ko1@atdot.net> + + * 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. + Sun Jun 8 18:15:38 2008 Koichi Sasada <ko1@atdot.net> * array.c, bignum.c, cont.c, dir.c, dln.c, encoding.c, enumerator.c, |
