--- old/src/hotspot/share/gc/shared/collectedHeap.hpp 2019-03-11 22:56:22.666708241 +0100 +++ new/src/hotspot/share/gc/shared/collectedHeap.hpp 2019-03-11 22:56:22.070698577 +0100 @@ -514,9 +514,6 @@ void print_heap_before_gc(); void print_heap_after_gc(); - // An object is scavengable if its location may move during a scavenge. - // (A scavenge is a GC which is not a full GC.) - virtual bool is_scavengable(oop obj) = 0; // Registering and unregistering an nmethod (compiled code) with the heap. // Override with specific mechanism for each specialized heap type. virtual void register_nmethod(nmethod* nm) {}