Lines Matching refs:new_rgn_addr
323 bool VMMemPointerIterator::split_reserved_region(VMMemRegion* rgn, address new_rgn_addr, size_t new_rgn_size) {
324 assert(rgn->contains_region(new_rgn_addr, new_rgn_size), "Not fully contained");
326 if (rgn->base() == new_rgn_addr) { // new region is at the beginning of the region
329 rgn->exclude_region(new_rgn_addr + new_rgn_size, sz);
331 MemPointerRecordEx next_rgn(new_rgn_addr + new_rgn_size, rgn->flags(), sz, pc);
333 } else if (rgn->base() + rgn->size() == new_rgn_addr + new_rgn_size) {
334 rgn->exclude_region(new_rgn_addr, new_rgn_size);
335 MemPointerRecordEx next_rgn(new_rgn_addr, rgn->flags(), new_rgn_size, pc);
341 rgn->exclude_region(new_rgn_addr, (rgn_high_addr - new_rgn_addr));
343 MemPointerRecordEx new_rgn(new_rgn_addr, rgn->flags(), new_rgn_size, pc);
346 MemPointerRecordEx rem_rgn(new_rgn_addr + new_rgn_size, rgn->flags(),
347 rgn_high_addr - (new_rgn_addr + new_rgn_size), pc);