src/share/vm/oops/objArrayOop.hpp

changeset 1330
94b6d06fd759
parent 791
1ee8caae33af
child 1383
89e0543e1737
     1.1 --- a/src/share/vm/oops/objArrayOop.hpp	Fri Jul 17 00:50:55 2009 -0700
     1.2 +++ b/src/share/vm/oops/objArrayOop.hpp	Mon Jul 20 08:20:00 2009 -0700
     1.3 @@ -38,6 +38,11 @@
     1.4    }
     1.5  
     1.6   public:
     1.7 +  // Returns the offset of the first element.
     1.8 +  static int base_offset_in_bytes() {
     1.9 +    return arrayOopDesc::base_offset_in_bytes(T_OBJECT);
    1.10 +  }
    1.11 +
    1.12    // base is the address following the header.
    1.13    HeapWord* base() const      { return (HeapWord*) arrayOopDesc::base(T_OBJECT); }
    1.14  

mercurial