--- old/src/hotspot/share/gc/parallel/parallelScavengeHeap.hpp 2019-03-11 14:42:58.203644987 +0100 +++ new/src/hotspot/share/gc/parallel/parallelScavengeHeap.hpp 2019-03-11 14:42:57.543634179 +0100 @@ -157,13 +157,12 @@ // collection. virtual bool is_maximal_no_gc() const; - // Return true if the reference points to an object that - // can be moved in a partial collection. For currently implemented - // generational collectors that means during a collection of - // the young gen. - virtual bool is_scavengable(oop obj); virtual void register_nmethod(nmethod* nm); - virtual void verify_nmethod(nmethod* nmethod); + virtual void unregister_nmethod(nmethod* nm); + virtual void verify_nmethod(nmethod* nm); + virtual void flush_nmethod(nmethod* nm); + + void prune_nmethods(); size_t max_capacity() const;