Lines Matching defs:sd
156 const ParallelCompactData& sd = PSParallelCompact::summary_data();
157 HeapWord* const beg_region_addr = sd.region_align_down(destination);
158 HeapWord* const end_region_addr = sd.region_align_down(last_word);
167 _first_src_addr = sd.region_to_addr(src_region_idx);
177 _first_src_addr = sd.region_to_addr(src_region_idx) + ofs;
234 ParallelCompactData& sd = PSParallelCompact::summary_data();
235 size_t dci = c->destination() ? sd.addr_to_region_idx(c->destination()) : 0;
1119 const ParallelCompactData& sd = summary_data();
1122 HeapWord* const top_aligned_up = sd.region_align_up(space->top());
1123 const RegionData* const beg_cp = sd.addr_to_region_ptr(space->bottom());
1124 const RegionData* const end_cp = sd.addr_to_region_ptr(top_aligned_up);
1139 return sd.region_to_addr(cp);
1162 HeapWord* dense_prefix = sd.region_to_addr(cp);
1164 const RegionData* const top_cp = sd.addr_to_region_ptr(space->top() - 1);
1171 sd.region(cp), region_destination,
1180 size_t space_to_left = sd.region(cp) * region_size;
1197 "pc_d2r=%10.8f", sd.region(cp), density_to_right,
1305 ParallelCompactData& sd = summary_data();
1306 size_t left = sd.region(beg);
1307 size_t right = end > beg ? sd.region(end) - 1 : left;
1313 RegionData* const middle_ptr = sd.region(middle);
1315 HeapWord* const addr = sd.region_to_addr(middle);
1327 return sd.region(left);
1335 ParallelCompactData& sd = summary_data();
1336 size_t left = sd.region(beg);
1337 size_t right = end > beg ? sd.region(end) - 1 : left;
1343 RegionData* const middle_ptr = sd.region(middle);
1345 HeapWord* const addr = sd.region_to_addr(middle);
1358 return sd.region(left);
1369 ParallelCompactData& sd = summary_data();
1378 assert(top >= sd.region_to_addr(cp), "sanity");
1384 sd.region_to_addr(cp));
1413 const ParallelCompactData& sd = summary_data();
1417 HeapWord* const top_aligned_up = sd.region_align_up(top);
1419 HeapWord* const new_top_aligned_up = sd.region_align_up(new_top);
1421 const RegionData* const beg_cp = sd.addr_to_region_ptr(bottom);
1422 const RegionData* const top_cp = sd.addr_to_region_ptr(top_aligned_up);
1424 sd.addr_to_region_ptr(new_top_aligned_up);
1429 assert(full_cp->destination() == sd.region_to_addr(full_cp) ||
1443 return sd.region_to_addr(full_cp);
1497 return sd.region_to_addr(best_cp);
1522 ParallelCompactData& sd = summary_data();
1526 HeapWord* const src_addr = sd.region_align_down(start);
1529 dst_addr = sd.addr_to_region_ptr(src_addr)->destination();
1534 RegionData* const cp = sd.addr_to_region_ptr(src_addr) - 1;
1599 ParallelCompactData& sd = summary_data();
1654 sd.add_obj(cur_addr, cur_size);
1683 _space_info[id].set_dense_prefix(sd.region_align_down(space->top()));
1686 HeapWord* cur = sd.region_align_down(space->top());
1687 HeapWord* cur_destination = sd.addr_to_region_ptr(cur)->destination();
1691 cur_destination = sd.addr_to_region_ptr(cur)->destination();
2548 const ParallelCompactData& sd = PSParallelCompact::summary_data();
2560 const size_t beg_region = sd.addr_to_region_idx(space_info->dense_prefix());
2562 sd.addr_to_region_idx(sd.region_align_up(new_top));
2566 if (sd.region(cur)->claim_unsafe()) {
2600 ParallelCompactData& sd = PSParallelCompact::summary_data();
2618 sd.addr_to_region_idx(dense_prefix_end);
2620 sd.region(region_index_end_dense_prefix);
2626 size_t region_index_start = sd.addr_to_region_idx(space->bottom());
2699 ParallelCompactData& sd = summary_data();
2704 const rd_t* const beg = sd.addr_to_region_ptr(spc->bottom());
2705 HeapWord* const top_aligned_up = sd.region_align_up(spc->top());
2706 const rd_t* const end = sd.addr_to_region_ptr(top_aligned_up);
2776 ParallelCompactData& sd = summary_data();
2778 HeapWord* new_top_addr = sd.region_align_up(si.new_top());
2779 HeapWord* old_top_addr = sd.region_align_up(si.space()->top());
2780 const size_t beg_region = sd.addr_to_region_idx(si.space()->bottom());
2781 const size_t new_top_region = sd.addr_to_region_idx(new_top_addr);
2782 const size_t old_top_region = sd.addr_to_region_idx(old_top_addr);
2788 const RegionData* const c = sd.region(cur_region);
2798 const RegionData* const c = sd.region(cur_region);
3024 ParallelCompactData& sd = summary_data();
3027 HeapWord* beg_addr = sd.region_to_addr(beg_region);
3028 HeapWord* const end_addr = sd.region_to_addr(end_region);
3036 assert(sd.region(claim_region)->claim_unsafe(), "claim() failed");
3049 const RegionData* const cp = sd.region(beg_region);
3051 beg_addr = sd.partial_obj_end(beg_region);
3073 RegionData* const beg_cp = sd.region(beg_region);
3074 RegionData* const end_cp = sd.region(end_region);
3100 ParallelCompactData& sd = summary_data();
3107 HeapWord* const end_addr = sd.region_align_up(space_info->new_top());
3109 const RegionData* const beg_region = sd.addr_to_region_ptr(beg_addr);
3110 const RegionData* const end_region = sd.addr_to_region_ptr(end_addr);
3170 const ParallelCompactData& sd = summary_data();
3174 assert(sd.is_region_aligned(dest_addr), "not aligned");
3175 const RegionData* const src_region_ptr = sd.region(src_region_idx);
3182 HeapWord* const src_region_beg = sd.region_to_addr(src_region_idx);
3227 ParallelCompactData& sd = summary_data();
3231 HeapWord* const beg_addr = sd.region_to_addr(beg_region);
3238 RegionData* const beg = sd.region(beg_region);
3239 RegionData* const end = sd.addr_to_region_ptr(sd.region_align_up(end_addr));
3244 sd.addr_to_region_ptr(sd.region_align_up(new_top));
3250 cm->push_region(sd.region(cur));
3262 ParallelCompactData& sd = PSParallelCompact::summary_data();
3268 HeapWord* const src_aligned_up = sd.region_align_up(end_addr);
3269 RegionData* src_region_ptr = sd.addr_to_region_ptr(src_aligned_up);
3270 HeapWord* const top_aligned_up = sd.region_align_up(src_space_top);
3272 sd.addr_to_region_ptr(top_aligned_up);
3280 src_region_idx = sd.region(src_region_ptr);
3281 HeapWord* const src_region_addr = sd.region_to_addr(src_region_idx);
3297 const RegionData* const bottom_cp = sd.addr_to_region_ptr(bottom);
3301 HeapWord* const top_aligned_up = sd.region_align_up(space->top());
3302 const RegionData* const top_cp = sd.addr_to_region_ptr(top_aligned_up);
3314 const size_t src_region_idx = sd.region(src_cp);
3315 closure.set_source(sd.region_to_addr(src_region_idx));
3333 ParallelCompactData& sd = summary_data();
3334 RegionData* const region_ptr = sd.region(region_idx);
3337 HeapWord* dest_addr = sd.region_to_addr(region_idx);
3346 SpaceId src_space_id = space_id(sd.region_to_addr(src_region_idx));
3372 HeapWord* const end_addr = sd.region_align_down(closure.source());
3373 if (sd.region_align_down(old_src_addr) != end_addr) {
3386 HeapWord* const end_addr = MIN2(sd.region_align_up(cur_addr + 1),
3453 ParallelCompactData& sd = summary_data();
3454 const size_t partial_obj_size = sd.region(region_idx)->partial_obj_size();
3460 size_t cur_block = sd.block_count();
3476 sd.block(cur_block)->set_offset(bitmap->bits_to_words(live_bits));
3496 ParallelCompactData& sd = PSParallelCompact::summary_data();
3504 const size_t beg_region = sd.addr_to_region_idx(beg_addr);
3505 const size_t dp_region = sd.addr_to_region_idx(dp_addr);
3512 HeapWord* const dest_addr = sd.partial_obj_end(dp_region);