--- old/src/hotspot/share/gc/g1/g1CollectedHeap.hpp 2019-02-27 11:07:32.989731651 +0100 +++ new/src/hotspot/share/gc/g1/g1CollectedHeap.hpp 2019-02-27 11:07:32.717723380 +0100 @@ -366,7 +366,7 @@ G1NewTracer* _gc_tracer_stw; // The current policy object for the collector. - G1Policy* _g1_policy; + G1Policy* _policy; G1HeapSizingPolicy* _heap_sizing_policy; G1CollectionSet _collection_set; @@ -745,7 +745,7 @@ G1HotCardCache* _hot_card_cache; // The g1 remembered set of the heap. - G1RemSet* _g1_rem_set; + G1RemSet* _rem_set; // A set of cards that cover the objects for which the Rsets should be updated // concurrently after the collection. @@ -950,7 +950,9 @@ G1CollectorState* collector_state() { return &_collector_state; } // The current policy object for the collector. - G1Policy* g1_policy() const { return _g1_policy; } + G1Policy* policy() const { return _policy; } + // The remembered set. + G1RemSet* rem_set() const { return _rem_set; } HeapRegionManager* hrm() const { return _hrm; } @@ -958,7 +960,6 @@ G1CollectionSet* collection_set() { return &_collection_set; } virtual CollectorPolicy* collector_policy() const; - virtual G1CollectorPolicy* g1_collector_policy() const; virtual SoftRefPolicy* soft_ref_policy(); @@ -967,9 +968,6 @@ virtual GrowableArray memory_managers(); virtual GrowableArray memory_pools(); - // The rem set and barrier set. - G1RemSet* g1_rem_set() const { return _g1_rem_set; } - // Try to minimize the remembered set. void scrub_rem_set(); @@ -1366,6 +1364,7 @@ // WhiteBox testing support. virtual bool supports_concurrent_phase_control() const; virtual bool request_concurrent_phase(const char* phase); + bool is_heap_heterogeneous() const; virtual WorkGang* get_safepoint_workers() { return _workers; }