equal
deleted
inserted
replaced
372 // but that just makes the TLAB somewhat smaller than the biggest array, |
372 // but that just makes the TLAB somewhat smaller than the biggest array, |
373 // which is fine, since we'll be able to fill that. |
373 // which is fine, since we'll be able to fill that. |
374 size_t max_int_size = typeArrayOopDesc::header_size(T_INT) + |
374 size_t max_int_size = typeArrayOopDesc::header_size(T_INT) + |
375 sizeof(jint) * |
375 sizeof(jint) * |
376 ((juint) max_jint / (size_t) HeapWordSize); |
376 ((juint) max_jint / (size_t) HeapWordSize); |
377 return align_size_down(max_int_size, MinObjAlignment); |
377 return align_down(max_int_size, MinObjAlignment); |
378 } |
378 } |
379 |
379 |
380 // Helper for ReduceInitialCardMarks. For performance, |
380 // Helper for ReduceInitialCardMarks. For performance, |
381 // compiled code may elide card-marks for initializing stores |
381 // compiled code may elide card-marks for initializing stores |
382 // to a newly allocated object along the fast-path. We |
382 // to a newly allocated object along the fast-path. We |