Lines Matching defs:obj_ptr
163 HeapWord* const obj_ptr = _plab_allocator->allocate(InCSetState::Old,
176 if (obj_ptr != NULL) {
183 return obj_ptr;
205 HeapWord * const obj_ptr,
208 if (alloc_buf->contains(obj_ptr)) {
236 HeapWord* obj_ptr = _plab_allocator->plab_allocate(dest_state, word_sz, context);
240 if (obj_ptr == NULL) {
242 obj_ptr = _plab_allocator->allocate_direct_or_new_plab(dest_state, word_sz, context, &plab_refill_failed);
243 if (obj_ptr == NULL) {
244 obj_ptr = allocate_in_next_plab(state, &dest_state, word_sz, context, plab_refill_failed);
245 if (obj_ptr == NULL) {
253 report_promotion_event(dest_state, old, word_sz, age, obj_ptr, context);
257 assert(obj_ptr != NULL, "when we get here, allocation should have succeeded");
258 assert(_g1h->is_in_reserved(obj_ptr), "Allocated memory should be in the heap");
265 _plab_allocator->undo_allocation(dest_state, obj_ptr, word_sz, context);
271 Prefetch::write(obj_ptr, PrefetchCopyIntervalInBytes);
273 const oop obj = oop(obj_ptr);
276 Copy::aligned_disjoint_words((HeapWord*) old, obj_ptr, word_sz);
320 HeapRegion* const to_region = _g1h->heap_region_containing(obj_ptr);
326 _plab_allocator->undo_allocation(dest_state, obj_ptr, word_sz, context);