зеркало из https://github.com/github/ruby.git
gc.c (struct heap_page): trivial packing
304 => 296 bytes on x86-64 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
12c9560fa9
Коммит
14fe2b6b4c
|
@ -1,3 +1,8 @@
|
||||||
|
Thu Nov 13 03:56:38 2014 Eric Wong <e@80x24.org>
|
||||||
|
|
||||||
|
* gc.c (struct heap_page): trivial packing
|
||||||
|
304 => 296 bytes on x86-64
|
||||||
|
|
||||||
Wed Nov 12 22:50:12 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
|
Wed Nov 12 22:50:12 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
|
||||||
|
|
||||||
* gems/bundled_gems: Update to test-unit 3.0.6 and minitest 5.4.3.
|
* gems/bundled_gems: Update to test-unit 3.0.6 and minitest 5.4.3.
|
||||||
|
|
11
gc.c
11
gc.c
|
@ -613,18 +613,17 @@ struct heap_page {
|
||||||
int total_slots;
|
int total_slots;
|
||||||
int free_slots;
|
int free_slots;
|
||||||
int final_slots;
|
int final_slots;
|
||||||
|
|
||||||
struct heap_page *free_next;
|
|
||||||
RVALUE *start;
|
|
||||||
RVALUE *freelist;
|
|
||||||
struct heap_page *next;
|
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
unsigned int before_sweep : 1;
|
unsigned int before_sweep : 1;
|
||||||
unsigned int has_remembered_objects : 1;
|
unsigned int has_remembered_objects : 1;
|
||||||
unsigned int has_long_lived_shady_objects : 1;
|
unsigned int has_long_lived_shady_objects : 1;
|
||||||
} flags;
|
} flags;
|
||||||
|
|
||||||
|
struct heap_page *free_next;
|
||||||
|
RVALUE *start;
|
||||||
|
RVALUE *freelist;
|
||||||
|
struct heap_page *next;
|
||||||
|
|
||||||
#if USE_RGENGC
|
#if USE_RGENGC
|
||||||
bits_t wb_unprotected_bits[HEAP_BITMAP_LIMIT];
|
bits_t wb_unprotected_bits[HEAP_BITMAP_LIMIT];
|
||||||
#endif
|
#endif
|
||||||
|
|
Загрузка…
Ссылка в новой задаче