[ruby-cvs:54616] ko1:r47468 (trunk): * gc.c: fix layout of rb_objsapce_t to improve cache locality.
ko1 at ruby-lang.org
ko1 at ruby-lang.org
Tue Sep 9 14:24:43 JST 2014
ko1 2014-09-09 14:24:42 +0900 (Tue, 09 Sep 2014)
New Revision: 47468
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47468
Log:
* gc.c: fix layout of rb_objsapce_t to improve cache locality.
newobj_of() accesses:
(1) rb_objspace_t::flags
(2) rb_objspace_t::eden_heap::freelist
(3) and rb_objspace_t::eden_heap::free_pages if freelist is NULL.
Modified files:
trunk/ChangeLog
trunk/gc.c
More information about the ruby-cvs
mailing list