8208669: GC changes to allow enabling -Wreorder

Reviewed-by: kbarrett
This commit is contained in:
Thomas Schatzl 2018-08-08 15:31:06 +02:00
parent a00eff193f
commit d702d5f8d2
80 changed files with 371 additions and 294 deletions

View file

@ -128,10 +128,13 @@ public:
public:
// Empty constructor, we'll initialize it with the initialize() method.
HeapRegionManager() : _regions(), _heap_mapper(NULL), _num_committed(0),
_next_bitmap_mapper(NULL), _prev_bitmap_mapper(NULL), _bot_mapper(NULL),
_allocated_heapregions_length(0), _available_map(mtGC),
_free_list("Free list", new MasterFreeRegionListMtSafeChecker())
HeapRegionManager() :
_regions(), _heap_mapper(NULL),
_prev_bitmap_mapper(NULL), _next_bitmap_mapper(NULL), _bot_mapper(NULL),
_cardtable_mapper(NULL), _card_counts_mapper(NULL),
_free_list("Free list", new MasterFreeRegionListMtSafeChecker()),
_available_map(mtGC), _num_committed(0),
_allocated_heapregions_length(0)
{ }
void initialize(G1RegionToSpaceMapper* heap_storage,