< prev index next >

src/share/vm/oops/array.hpp

Print this page

        

*** 133,143 **** assert(words <= INT_MAX, "Overflow: " SIZE_FORMAT, words); return (int)words; } static int size(int length, int elm_byte_size) { ! return align_size_up(byte_sizeof(length, elm_byte_size), BytesPerWord) / BytesPerWord; // FIXME } int size() { return size(_length); } --- 133,143 ---- assert(words <= INT_MAX, "Overflow: " SIZE_FORMAT, words); return (int)words; } static int size(int length, int elm_byte_size) { ! return align_up(byte_sizeof(length, elm_byte_size), BytesPerWord) / BytesPerWord; } int size() { return size(_length); }
< prev index next >