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 |