--- a/src/hotspot/share/oops/instanceKlass.hpp Fri Dec 07 13:59:19 2018 -0500
+++ b/src/hotspot/share/oops/instanceKlass.hpp Fri Dec 07 14:48:35 2018 -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;
}