src/hotspot/share/oops/instanceKlass.hpp
changeset 49738 a7bc87a63dd8
parent 49677 a1a7456dd8b9
child 49821 02c08e20d66c
equal deleted inserted replaced
49737:01960eec4570 49738:a7bc87a63dd8
   644   // in places where the metadata is stored in other places, like nmethods
   644   // in places where the metadata is stored in other places, like nmethods
   645   oop klass_holder() const {
   645   oop klass_holder() const {
   646     return is_anonymous() ? java_mirror() : class_loader();
   646     return is_anonymous() ? java_mirror() : class_loader();
   647   }
   647   }
   648 
   648 
   649   // Load the klass_holder as a phantom. This is useful when a weak Klass
   649   // Load the klass's holder as a phantom. This is useful when a weak Klass
   650   // pointer has been "peeked" and then must be kept alive before it may
   650   // pointer has been "peeked" and then must be kept alive before it may
   651   // be used safely.
   651   // be used safely.
   652   oop klass_holder_phantom();
   652   oop holder_phantom() const;
   653 
   653 
   654   bool is_contended() const                {
   654   bool is_contended() const                {
   655     return (_misc_flags & _misc_is_contended) != 0;
   655     return (_misc_flags & _misc_is_contended) != 0;
   656   }
   656   }
   657   void set_is_contended(bool value)        {
   657   void set_is_contended(bool value)        {