< prev index next >

src/share/vm/oops/objArrayOop.hpp

Print this page

        

*** 60,70 **** const uint HeapWordsPerOop = heapOopSize/HeapWordSize; uint old_res; if (HeapWordsPerOop > 0) { old_res = length * HeapWordsPerOop; } else { ! old_res = align_size_up((uint)length, OopsPerHeapWord)/OopsPerHeapWord; } assert(res == old_res, "Inconsistency between old and new."); #endif // ASSERT return res; } --- 60,70 ---- const uint HeapWordsPerOop = heapOopSize/HeapWordSize; uint old_res; if (HeapWordsPerOop > 0) { old_res = length * HeapWordsPerOop; } else { ! old_res = align_up((uint)length, OopsPerHeapWord)/OopsPerHeapWord; } assert(res == old_res, "Inconsistency between old and new."); #endif // ASSERT return res; }
< prev index next >