src/hotspot/share/memory/metaspace/spaceManager.cpp
changeset 51334 cc2c79d22508
parent 50811 f533eb5e7430
child 51444 3e5d28e6de32
--- a/src/hotspot/share/memory/metaspace/spaceManager.cpp	Wed Aug 08 15:31:06 2018 +0200
+++ b/src/hotspot/share/memory/metaspace/spaceManager.cpp	Wed Aug 08 15:31:07 2018 +0200
@@ -228,16 +228,15 @@
 SpaceManager::SpaceManager(Metaspace::MetadataType mdtype,
                            Metaspace::MetaspaceType space_type,//
                            Mutex* lock) :
+  _lock(lock),
   _mdtype(mdtype),
   _space_type(space_type),
+  _chunk_list(NULL),
+  _current_chunk(NULL),
+  _overhead_words(0),
   _capacity_words(0),
   _used_words(0),
-  _overhead_words(0),
-  _block_freelists(NULL),
-  _lock(lock),
-  _chunk_list(NULL),
-  _current_chunk(NULL)
-{
+  _block_freelists(NULL) {
   Metadebug::init_allocation_fail_alot_count();
   memset(_num_chunks_by_type, 0, sizeof(_num_chunks_by_type));
   log_trace(gc, metaspace, freelist)("SpaceManager(): " PTR_FORMAT, p2i(this));