diff options
| author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-12 06:28:43 +0000 |
|---|---|---|
| committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-12 06:28:43 +0000 |
| commit | ed1a088d29c24de604d27aa89a46dcd0fb0e1efc (patch) | |
| tree | 6414da4f67c6640cd5d4e6159da146b6a3b1e13e /ChangeLog | |
| parent | b6cbca1b342f5072b041de99c2a2c0dc2a45ab37 (diff) | |
| download | ruby-ed1a088d29c24de604d27aa89a46dcd0fb0e1efc.tar.gz ruby-ed1a088d29c24de604d27aa89a46dcd0fb0e1efc.tar.xz ruby-ed1a088d29c24de604d27aa89a46dcd0fb0e1efc.zip | |
* gc.c (ruby_vm_xmalloc): increase malloc_increase only if malloc
succeeds. failed malloc size can be huge. it may increase
malloc_limit too big which cause less GC and memory full.
(ruby_vm_xrealloc): ditto.
(rb_objspace): make params.limit and params.increase size_t.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
| -rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +Mon May 12 15:20:02 2008 Tanaka Akira <akr@fsij.org> + + * gc.c (ruby_vm_xmalloc): increase malloc_increase only if malloc + succeeds. failed malloc size can be huge. it may increase + malloc_limit too big which cause less GC and memory full. + (ruby_vm_xrealloc): ditto. + (rb_objspace): make params.limit and params.increase size_t. + Mon May 12 15:04:58 2008 Yukihiro Matsumoto <matz@ruby-lang.org> * re.c (rb_reg_prepare_re): made non static with small refactoring. |
