src/share/vm/gc_implementation/g1/g1CollectedHeap.inline.hpp

changeset 2333
016a3628c885
parent 2315
631f79e71e90
child 2454
b158bed62ef5
equal deleted inserted replaced
2317:d9310331a29c 2333:016a3628c885
117 retire_cur_alloc_region(cur_alloc_region); 117 retire_cur_alloc_region(cur_alloc_region);
118 } 118 }
119 119
120 // Try to get a new region and allocate out of it 120 // Try to get a new region and allocate out of it
121 HeapWord* result = replace_cur_alloc_region_and_allocate(word_size, 121 HeapWord* result = replace_cur_alloc_region_and_allocate(word_size,
122 false, /* at safepoint */ 122 false, /* at_safepoint */
123 true /* do_dirtying */); 123 true, /* do_dirtying */
124 false /* can_expand */);
124 if (result != NULL) { 125 if (result != NULL) {
125 assert_heap_not_locked(); 126 assert_heap_not_locked();
126 return result; 127 return result;
127 } 128 }
128 129

mercurial