equal
deleted
inserted
replaced
3217 |
3217 |
3218 HeapWord* aligned_start = sp->bottom(); |
3218 HeapWord* aligned_start = sp->bottom(); |
3219 if (sp->used_region().contains(_restart_addr)) { |
3219 if (sp->used_region().contains(_restart_addr)) { |
3220 // Align down to a card boundary for the start of 0th task |
3220 // Align down to a card boundary for the start of 0th task |
3221 // for this space. |
3221 // for this space. |
3222 aligned_start = align_ptr_down(_restart_addr, CardTableModRefBS::card_size); |
3222 aligned_start = align_down(_restart_addr, CardTableModRefBS::card_size); |
3223 } |
3223 } |
3224 |
3224 |
3225 size_t chunk_size = sp->marking_task_size(); |
3225 size_t chunk_size = sp->marking_task_size(); |
3226 while (!pst->is_task_claimed(/* reference */ nth_task)) { |
3226 while (!pst->is_task_claimed(/* reference */ nth_task)) { |
3227 // Having claimed the nth task in this space, |
3227 // Having claimed the nth task in this space, |