< prev index next >

src/hotspot/share/oops/typeArrayOop.hpp

Print this page

        

@@ -109,10 +109,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 >