--- old/src/share/vm/gc/g1/g1CollectedHeap.hpp 2017-07-25 14:10:56.741617002 +0200 +++ new/src/share/vm/gc/g1/g1CollectedHeap.hpp 2017-07-25 14:10:56.613617007 +0200 @@ -1389,6 +1389,8 @@ // Unregister the given nmethod from the G1 heap. virtual void unregister_nmethod(nmethod* nm); + virtual void verify_nmethod_roots(nmethod* nmethod) {} + // Free up superfluous code root memory. void purge_code_root_memory(); @@ -1436,8 +1438,6 @@ virtual const char* const* concurrent_phases() const; virtual bool request_concurrent_phase(const char* phase); - void verify_nmethod_roots(nmethod* nmethod); - // The methods below are here for convenience and dispatch the // appropriate method depending on value of the given VerifyOption // parameter. The values for that parameter, and their meanings,