--- old/src/hotspot/share/gc/shared/collectedHeap.hpp 2017-11-28 22:17:30.850498511 +0100 +++ new/src/hotspot/share/gc/shared/collectedHeap.hpp 2017-11-28 22:17:30.409503729 +0100 @@ -220,7 +220,7 @@ // In many heaps, there will be a need to perform some initialization activities // after the Universe is fully formed, but before general heap allocation is allowed. // This is the correct place to place such initialization methods. - virtual void post_initialize() = 0; + virtual void post_initialize(); // Stop any onging concurrent work and prepare for exit. virtual void stop() {} @@ -535,6 +535,9 @@ // Generate any dumps preceding or following a full gc private: void full_gc_dump(GCTimer* timer, bool before); + + virtual void initialize_serviceability() = 0; + public: void pre_full_gc_dump(GCTimer* timer); void post_full_gc_dump(GCTimer* timer);