< prev index next >

src/hotspot/share/oops/typeArrayOop.hpp

Print this page
*** 110,10 ***
--- 110,13 ---
  
    Symbol* symbol_at(int which) const;
    void symbol_at_put(int which, Symbol* contents);
  
    // Sizing
+   static int object_size(TypeArrayKlass* kls, int length) {
+     return object_size(kls->layout_helper(), length);
+   }
  
    // Returns the number of words necessary to hold an array of "len"
    // elements each of the given "byte_size".
   private:
    static int object_size(int lh, int length) {
< prev index next >