src/share/vm/oops/instanceKlass.hpp

changeset 2781
e1162778c1c8
parent 2658
c7f3d0b4570f
child 2784
92add02409c9
     1.1 --- a/src/share/vm/oops/instanceKlass.hpp	Tue Apr 05 19:14:03 2011 -0700
     1.2 +++ b/src/share/vm/oops/instanceKlass.hpp	Thu Apr 07 09:53:20 2011 -0700
     1.3 @@ -403,6 +403,8 @@
     1.4    ReferenceType reference_type() const     { return _reference_type; }
     1.5    void set_reference_type(ReferenceType t) { _reference_type = t; }
     1.6  
     1.7 +  static int reference_type_offset_in_bytes() { return offset_of(instanceKlass, _reference_type); }
     1.8 +
     1.9    // find local field, returns true if found
    1.10    bool find_local_field(Symbol* name, Symbol* sig, fieldDescriptor* fd) const;
    1.11    // find field in direct superinterfaces, returns the interface in which the field is defined

mercurial