Lines Matching defs:chunk_size
161 uint chunk_size) {
174 uint max_waste = n_threads * chunk_size;
175 // it should be aligned with respect to chunk_size
176 uint aligned_n_regions = (n_regions + chunk_size - 1) / chunk_size * chunk_size;
177 assert(aligned_n_regions % chunk_size == 0, "should be aligned");
181 uint CollectionSetChooser::claim_array_chunk(uint chunk_size) {
182 uint res = (uint) Atomic::add((jint) chunk_size,
184 assert(regions_length() > res + chunk_size - 1,
186 return res - chunk_size;