ruby-cvs:23529
From: akr ruby-lang.org
Date: Mon, 5 May 2008 02:25:39 +0900 (JST)
Subject: [ruby-cvs:23529] Ruby:r16289 (trunk): * gc.c (set_heaps_increment): fix memory allocation strategy by
akr 2008-05-05 02:25:38 +0900 (Mon, 05 May 2008)
New Revision: 16289
Modified files:
trunk/ChangeLog
trunk/gc.c
Log:
* 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.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=16289&r2=16288&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/gc.c?r1=16289&r2=16288&diff_format=u