equal
deleted
inserted
replaced
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) { |