diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-25 09:03:32 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-25 09:03:32 +0000 |
commit | a0681d3b1e5a25f5ad627e8a932032cd2ecc0d8a (patch) | |
tree | 0e1fc6f1bf54a8adb43f33d396bde3d8b9173f4b /struct.c | |
parent | 668d3623a415aa785619c72c0123e458f572861e (diff) | |
download | ruby-a0681d3b1e5a25f5ad627e8a932032cd2ecc0d8a.tar.gz ruby-a0681d3b1e5a25f5ad627e8a932032cd2ecc0d8a.tar.xz ruby-a0681d3b1e5a25f5ad627e8a932032cd2ecc0d8a.zip |
* gc.c (free_unused_heaps): preserve last used heap segment to
reduce malloc() call.
* gc.c (HEAP_SIZE): use smaller heap segment (2K) for more chance
to be freed. based on patch from authorNari <authornari at gmail.com>.
* gc.c (rb_newobj_from_heap): eventually allocate heap segments.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'struct.c')
0 files changed, 0 insertions, 0 deletions