From 514d65881b942ff7a034a0eea518bd36a62829e7 Mon Sep 17 00:00:00 2001 From: ko1 Date: Sun, 8 Jun 2008 10:27:06 +0000 Subject: * 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 --- ChangeLog | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 8f3cda871..e44a06391 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +Sun Jun 8 19:17:59 2008 Koichi Sasada + + * 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 * array.c, bignum.c, cont.c, dir.c, dln.c, encoding.c, enumerator.c, -- cgit