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 | 4d93af26df1c322515e535d60cd5b0a66dcc222d (patch) | |
tree | 0e1fc6f1bf54a8adb43f33d396bde3d8b9173f4b /process.c | |
parent | 0023e168656ed842821c80edbbca2b08594d7d5b (diff) | |
download | ruby-4d93af26df1c322515e535d60cd5b0a66dcc222d.tar.gz |
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@16194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
0 files changed, 0 insertions, 0 deletions