Lines Matching refs:BytesPerWord
39 const int aligned_mask = BytesPerWord -1;
102 const int aligned_mask = BytesPerWord -1;
186 assert((hdr_size_in_bytes & (BytesPerWord - 1)) == 0, "header size is not a multiple of BytesPerWord");
192 // note: for the remaining code to work, index must be a multiple of BytesPerWord
195 testptr(index, BytesPerWord - 1);
197 stop("index is not a multiple of BytesPerWord");
216 movptr(Address(obj, index, Address::times_8, hdr_size_in_bytes - 0*BytesPerWord), t1);
225 movptr(Address(obj, index, Address::times_8, hdr_size_in_bytes - 1*BytesPerWord), t1);
226 NOT_LP64(movptr(Address(obj, index, Address::times_8, hdr_size_in_bytes - 2*BytesPerWord), t1);)
241 try_allocate(obj, noreg, object_size * BytesPerWord, t1, t2, slow_case);
256 const int threshold = 6 * BytesPerWord; // approximate break even point for code size (see comments below)
264 for (int i = hdr_size_in_bytes; i < con_size_in_bytes; i += BytesPerWord)
274 movptr(Address(obj, con_size_in_bytes - (1*BytesPerWord)), t1_zero);
278 movptr(Address(obj, index, Address::times_8, hdr_size_in_bytes - (1*BytesPerWord)),
280 NOT_LP64(movptr(Address(obj, index, Address::times_8, hdr_size_in_bytes - (2*BytesPerWord)),
300 assert(!(BytesPerWord & 1), "must be a multiple of 2 for masking code to work");
308 movptr(arr_size, (int32_t)header_size * BytesPerWord + MinObjAlignmentInBytesMask);
318 initialize_body(obj, arr_size, header_size * BytesPerWord, len_zero);