< prev index next >

src/hotspot/share/oops/instanceKlass.hpp

Print this page

        

@@ -676,16 +676,10 @@
     } else {
       _misc_flags &= ~_misc_is_unsafe_anonymous;
     }
   }
 
-  // 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;
   }
   void set_is_contended(bool value)        {
     if (value) {
< prev index next >