diff -r 46f2dc7c4c39 -r ee93c1087584 src/hotspot/share/gc/shared/collectedHeap.hpp --- a/src/hotspot/share/gc/shared/collectedHeap.hpp Thu Apr 12 11:05:42 2018 +0200 +++ b/src/hotspot/share/gc/shared/collectedHeap.hpp Thu Apr 12 11:22:24 2018 +0200 @@ -105,7 +105,6 @@ MemRegion _reserved; protected: - BarrierSet* _barrier_set; bool _is_gc_active; // Used for filler objects (static, but initialized in ctor). @@ -417,10 +416,6 @@ size_t size, Metaspace::MetadataType mdtype); - // Returns the barrier set for this heap - BarrierSet* barrier_set() { return _barrier_set; } - void set_barrier_set(BarrierSet* barrier_set); - // Returns "true" iff there is a stop-world GC in progress. (I assume // that it should answer "false" for the concurrent part of a concurrent // collector -- dld).