ruby-changes:36310
From: normal <ko1@a...>
Date: Thu, 13 Nov 2014 03:57:20 +0900 (JST)
Subject: [ruby-changes:36310] normal:r48391 (trunk): gc.c (struct heap_page): trivial packing
normal 2014-11-13 03:57:06 +0900 (Thu, 13 Nov 2014) New Revision: 48391 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48391 Log: gc.c (struct heap_page): trivial packing 304 => 296 bytes on x86-64 Modified files: trunk/ChangeLog trunk/gc.c Index: ChangeLog =================================================================== --- ChangeLog (revision 48390) +++ ChangeLog (revision 48391) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Thu Nov 13 03:56:38 2014 Eric Wong <e@8...> + + * gc.c (struct heap_page): trivial packing + 304 => 296 bytes on x86-64 + Wed Nov 12 22:50:12 2014 SHIBATA Hiroshi <shibata.hiroshi@g...> * gems/bundled_gems: Update to test-unit 3.0.6 and minitest 5.4.3. Index: gc.c =================================================================== --- gc.c (revision 48390) +++ gc.c (revision 48391) @@ -613,18 +613,17 @@ struct heap_page { https://github.com/ruby/ruby/blob/trunk/gc.c#L613 int total_slots; int free_slots; int final_slots; - - struct heap_page *free_next; - RVALUE *start; - RVALUE *freelist; - struct heap_page *next; - struct { unsigned int before_sweep : 1; unsigned int has_remembered_objects : 1; unsigned int has_long_lived_shady_objects : 1; } flags; + struct heap_page *free_next; + RVALUE *start; + RVALUE *freelist; + struct heap_page *next; + #if USE_RGENGC bits_t wb_unprotected_bits[HEAP_BITMAP_LIMIT]; #endif -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/