Lines Matching defs:vm_ptr
169 VMMemRegion* vm_ptr = (VMMemRegion*)vm_itr.current();
171 while (vm_ptr != NULL) {
172 if (vm_ptr->is_reserved_region()) {
173 index = flag2index(FLAGS_TO_MEMORY_TYPE(vm_ptr->flags()));
175 if (IS_MEMORY_TYPE(vm_ptr->flags(), mtThreadStack)) {
178 _total_vm_reserved += vm_ptr->size();
179 _vm_data[index].inc(vm_ptr->size(), 0);
181 _total_vm_committed += vm_ptr->size();
182 _vm_data[index].inc(0, vm_ptr->size());
184 vm_ptr = (VMMemRegion*)vm_itr.next();
258 VMMemRegionEx* vm_ptr = (VMMemRegionEx*)vm_itr.current();
284 // vm_ptr is coming in increasing base address order
285 while (vm_ptr != NULL) {
286 if (vm_ptr->is_reserved_region()) {
293 reserved_rec->base() + reserved_rec->size() != vm_ptr->addr() ||
294 FLAGS_TO_MEMORY_TYPE(reserved_rec->flags()) != FLAGS_TO_MEMORY_TYPE(vm_ptr->flags()) ||
295 reserved_rec->pc() != vm_ptr->pc()) {
296 if (!_vm_map->append(vm_ptr)) {
303 reserved_rec->expand_region(vm_ptr->addr(), vm_ptr->size());
309 vm_callsite = VMCallsitePointer(vm_ptr->pc());
311 vm_callsite.inc(vm_ptr->size(), 0);
318 committed_rec->base() + committed_rec->size() != vm_ptr->addr() ||
319 committed_rec->pc() != vm_ptr->pc()) {
320 if (!_vm_map->append(vm_ptr)) {
325 committed_rec->expand_region(vm_ptr->addr(), vm_ptr->size());
327 vm_callsite.inc(0, vm_ptr->size());
329 vm_ptr = (VMMemRegionEx*)vm_itr.next();