--- a/src/hotspot/share/gc/g1/g1CollectedHeap.hpp Mon Apr 01 08:21:45 2019 -0700
+++ b/src/hotspot/share/gc/g1/g1CollectedHeap.hpp Mon Apr 01 18:34:39 2019 +0200
@@ -1322,6 +1322,12 @@
// Unregister the given nmethod from the G1 heap.
virtual void unregister_nmethod(nmethod* nm);
+ // No nmethod flushing needed.
+ virtual void flush_nmethod(nmethod* nm) {}
+
+ // No nmethod verification implemented.
+ virtual void verify_nmethod(nmethod* nm) {}
+
// Free up superfluous code root memory.
void purge_code_root_memory();