equal
deleted
inserted
replaced
775 TRACE_DEFINE_OFFSET; |
775 TRACE_DEFINE_OFFSET; |
776 static ByteSize init_thread_offset() { return in_ByteSize(offset_of(InstanceKlass, _init_thread)); } |
776 static ByteSize init_thread_offset() { return in_ByteSize(offset_of(InstanceKlass, _init_thread)); } |
777 |
777 |
778 // subclass/subinterface checks |
778 // subclass/subinterface checks |
779 bool implements_interface(Klass* k) const; |
779 bool implements_interface(Klass* k) const; |
|
780 bool is_same_or_direct_interface(Klass* k) const; |
780 |
781 |
781 // Access to the implementor of an interface. |
782 // Access to the implementor of an interface. |
782 Klass* implementor() const |
783 Klass* implementor() const |
783 { |
784 { |
784 Klass** k = adr_implementor(); |
785 Klass** k = adr_implementor(); |