369 NotZeroFilled, |
369 NotZeroFilled, |
370 ZeroFilling, |
370 ZeroFilling, |
371 ZeroFilled, |
371 ZeroFilled, |
372 Allocated |
372 Allocated |
373 }; |
373 }; |
|
374 |
|
375 inline HeapWord* par_allocate_no_bot_updates(size_t word_size) { |
|
376 assert(is_young(), "we can only skip BOT updates on young regions"); |
|
377 return ContiguousSpace::par_allocate(word_size); |
|
378 } |
|
379 inline HeapWord* allocate_no_bot_updates(size_t word_size) { |
|
380 assert(is_young(), "we can only skip BOT updates on young regions"); |
|
381 return ContiguousSpace::allocate(word_size); |
|
382 } |
374 |
383 |
375 // If this region is a member of a HeapRegionSeq, the index in that |
384 // If this region is a member of a HeapRegionSeq, the index in that |
376 // sequence, otherwise -1. |
385 // sequence, otherwise -1. |
377 int hrs_index() const { return _hrs_index; } |
386 int hrs_index() const { return _hrs_index; } |
378 void set_hrs_index(int index) { _hrs_index = index; } |
387 void set_hrs_index(int index) { _hrs_index = index; } |