From 2bfd722d803ac26deabde267c3d84d1b1aa85f50 Mon Sep 17 00:00:00 2001 From: ko1 Date: Mon, 25 Nov 2013 01:13:31 +0000 Subject: * internal.h: do not use ruby_sized_xrealloc() and ruby_sized_xfree() if HAVE_MALLOC_USABLE_SIZE (or _WIN32) is defined. We don't need these function if malloc_usable_size() is available. * gc.c: catch up this change. * gc.c: define HAVE_MALLOC_USABLE_SIZE on _WIN32. * array.c (ary_resize_capa): do not use ruby_sized_xfree() with local variable to avoid "unused local variable" warning. This change only has few impact. * string.c (rb_str_resize): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 7020c9b835..a1947ecb53 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,20 @@ +Mon Nov 25 06:53:30 2013 Koichi Sasada + + * internal.h: do not use ruby_sized_xrealloc() and ruby_sized_xfree() + if HAVE_MALLOC_USABLE_SIZE (or _WIN32) is defined. + + We don't need these function if malloc_usable_size() is available. + + * gc.c: catch up this change. + + * gc.c: define HAVE_MALLOC_USABLE_SIZE on _WIN32. + + * array.c (ary_resize_capa): do not use ruby_sized_xfree() with + local variable to avoid "unused local variable" warning. + This change only has few impact. + + * string.c (rb_str_resize): ditto. + Mon Nov 25 05:05:04 2013 Koichi Sasada * test/-ext-/tracepoint/test_tracepoint.rb: catch up GC.stat changes -- cgit v1.2.3