Group all compact fields of GC_arrays to fit in single page
authorIvan Maidanski <ivmai@mail.ru>
Sun, 22 Dec 2013 08:27:20 +0000 (12:27 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Sun, 22 Dec 2013 08:27:20 +0000 (12:27 +0400)
commit786d20ab7a626380385399c8465839ca0ac669f7
tree8f5183b0c34c8dd4d26aa82ed623af8b1107e8e5
parent8f5021bbd463b3f94334460243f028990e1ba231
Group all compact fields of GC_arrays to fit in single page

* include/private/gc_priv.h (struct hblkhdr): Reorder hb_inv_sz field
to reduce alignment gaps on 64-bit targets.
* include/private/gc_priv.h (struct _GC_arrays): Reorder
_composite_in_use, _atomic_in_use, _unmapped_bytes, _all_nils,
_trace_addr, _modws_valid_offsets, _root_index, _last_stack fields
so that to have all compact (small-sized) fields in one memory page.
include/private/gc_priv.h