src/hotspot/share/oops/instanceKlass.hpp
changeset 52907 7cc17c043ce0
parent 52784 621efe32eb0b
child 53149 259c36ef27df
child 53225 b11483a74e5d
--- 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;
   }