Mercurial > hg > truffle
comparison src/share/vm/oops/instanceKlass.hpp @ 13451:02f27ecb4f3a
Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 18 Dec 2013 00:00:24 +0100 |
parents | 096c224171c4 379f11bc04fc |
children | d8041d695d19 |
comparison
equal
deleted
inserted
replaced
13371:4db09b7304da | 13451:02f27ecb4f3a |
---|---|
513 bool find_field_from_offset(int offset, bool is_static, fieldDescriptor* fd) const; | 513 bool find_field_from_offset(int offset, bool is_static, fieldDescriptor* fd) const; |
514 | 514 |
515 // find a local method (returns NULL if not found) | 515 // find a local method (returns NULL if not found) |
516 Method* find_method(Symbol* name, Symbol* signature) const; | 516 Method* find_method(Symbol* name, Symbol* signature) const; |
517 static Method* find_method(Array<Method*>* methods, Symbol* name, Symbol* signature); | 517 static Method* find_method(Array<Method*>* methods, Symbol* name, Symbol* signature); |
518 static Method* find_instance_method(Array<Method*>* methods, Symbol* name, Symbol* signature); | |
518 | 519 |
519 // find a local method index in default_methods (returns -1 if not found) | 520 // find a local method index in default_methods (returns -1 if not found) |
520 static int find_method_index(Array<Method*>* methods, Symbol* name, Symbol* signature); | 521 static int find_method_index(Array<Method*>* methods, Symbol* name, Symbol* signature); |
521 | 522 |
522 // lookup operation (returns NULL if not found) | 523 // lookup operation (returns NULL if not found) |
775 TRACE_DEFINE_OFFSET; | 776 TRACE_DEFINE_OFFSET; |
776 static ByteSize init_thread_offset() { return in_ByteSize(offset_of(InstanceKlass, _init_thread)); } | 777 static ByteSize init_thread_offset() { return in_ByteSize(offset_of(InstanceKlass, _init_thread)); } |
777 | 778 |
778 // subclass/subinterface checks | 779 // subclass/subinterface checks |
779 bool implements_interface(Klass* k) const; | 780 bool implements_interface(Klass* k) const; |
781 bool is_same_or_direct_interface(Klass* k) const; | |
780 | 782 |
781 // Access to the implementor of an interface. | 783 // Access to the implementor of an interface. |
782 Klass* implementor() const | 784 Klass* implementor() const |
783 { | 785 { |
784 Klass** k = adr_implementor(); | 786 Klass** k = adr_implementor(); |