--- old/src/hotspot/share/oops/instanceKlass.hpp 2018-12-06 13:11:17.117013355 -0500 +++ new/src/hotspot/share/oops/instanceKlass.hpp 2018-12-06 13:11:16.829013365 -0500 @@ -678,12 +678,6 @@ } } - // Oop that keeps the metadata for this class from being unloaded - // in places where the metadata is stored in other places, like nmethods - oop klass_holder() const { - return (is_unsafe_anonymous()) ? java_mirror() : class_loader(); - } - bool is_contended() const { return (_misc_flags & _misc_is_contended) != 0; }