--- old/src/hotspot/share/gc/g1/g1CollectedHeap.cpp 2017-11-28 11:57:04.943761981 +0100 +++ new/src/hotspot/share/gc/g1/g1CollectedHeap.cpp 2017-11-28 11:57:04.689764928 +0100 @@ -1230,7 +1230,7 @@ const bool do_clear_all_soft_refs = clear_all_soft_refs || collector_policy()->should_clear_all_soft_refs(); - G1FullCollector collector(this, &_full_gc_mem_mgr, explicit_gc, do_clear_all_soft_refs); + G1FullCollector collector(this, &_full_gc_memory_manager, explicit_gc, do_clear_all_soft_refs); GCTraceTime(Info, gc) tm("Pause Full", NULL, gc_cause(), true); collector.prepare_collection(); @@ -1527,8 +1527,8 @@ CollectedHeap(), _young_gen_sampling_thread(NULL), _collector_policy(collector_policy), - _mem_mgr("G1 Young Generation", "end of minor GC"), - _full_gc_mem_mgr("G1 Old Generation", "end of major GC"), + _memory_manager("G1 Young Generation", "end of minor GC"), + _full_gc_memory_manager("G1 Old Generation", "end of major GC"), _eden_pool(NULL), _survivor_pool(NULL), _old_pool(NULL), @@ -1831,12 +1831,12 @@ _survivor_pool = new G1SurvivorPool(this); _old_pool = new G1OldGenPool(this); - _full_gc_mem_mgr.add_pool(_eden_pool); - _full_gc_mem_mgr.add_pool(_survivor_pool); - _full_gc_mem_mgr.add_pool(_old_pool); + _full_gc_memory_manager.add_pool(_eden_pool); + _full_gc_memory_manager.add_pool(_survivor_pool); + _full_gc_memory_manager.add_pool(_old_pool); - _mem_mgr.add_pool(_eden_pool); - _mem_mgr.add_pool(_survivor_pool); + _memory_manager.add_pool(_eden_pool); + _memory_manager.add_pool(_survivor_pool); G1StringDedup::initialize(); @@ -2971,7 +2971,7 @@ log_info(gc,task)("Using %u workers of %u for evacuation", active_workers, workers()->total_workers()); TraceCollectorStats tcs(g1mm()->incremental_collection_counters()); - TraceMemoryManagerStats tms(&_mem_mgr, gc_cause()); + TraceMemoryManagerStats tms(&_memory_manager, gc_cause()); // If the secondary_free_list is not empty, append it to the // free_list. No need to wait for the cleanup operation to finish; @@ -5388,8 +5388,8 @@ GrowableArray G1CollectedHeap::memory_managers() { GrowableArray memory_managers(2); - memory_managers.append(&_mem_mgr); - memory_managers.append(&_full_gc_mem_mgr); + memory_managers.append(&_memory_manager); + memory_managers.append(&_full_gc_memory_manager); return memory_managers; }