diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-04 17:25:38 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-04 17:25:38 +0000 |
commit | 678c95f27849f5c36a60a95338d7d4998df8c0b0 (patch) | |
tree | 1c0c142e0d46873781dbfbc0e7cb33812ecf0c10 /compile.c | |
parent | c8447f25c63dcfb1abcca63dd27f8e345c1b8c4d (diff) | |
download | ruby-678c95f27849f5c36a60a95338d7d4998df8c0b0.tar.gz ruby-678c95f27849f5c36a60a95338d7d4998df8c0b0.tar.xz ruby-678c95f27849f5c36a60a95338d7d4998df8c0b0.zip |
* gc.c (set_heaps_increment): fix memory allocation strategy by
determining heaps_inc from heaps_used, not objects_delta.
(struct rb_objspace): delta removed. change increment, length and
used to long for LP64.
(objects_delta): removed.
(allocate_heaps): add next_heaps_length argument.
(init_heap): renamed from add_heap.
(garbage_collect): use heaps_increment in dont_gc.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
0 files changed, 0 insertions, 0 deletions