diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-21 09:49:05 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-21 09:49:05 +0000 |
commit | 4305eb8e6c0e8ad0db9db29b38510d5815ccaabf (patch) | |
tree | b9148e5be32b80523b96411282236dc1796b0e21 /ChangeLog | |
parent | bb6607404a993c98d1ede9560b0f34c7551bf0f5 (diff) |
gc.c: malloc_usable_size
* gc.c (vm_xrealloc, vm_xfree): use malloc_usable_size() to obtain old
size if available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Thu Nov 21 18:49:02 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * gc.c (vm_xrealloc, vm_xfree): use malloc_usable_size() to obtain old + size if available. + Thu Nov 21 18:47:29 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> * lib/delegate.rb (SimpleDelegator#__getobj__): target object must be set. |