src/hotspot/share/gc/g1/g1AllocRegion.cpp
changeset 59061 df6f2350edfa
parent 59060 fce1fa1bdc91
equal deleted inserted replaced
59060:fce1fa1bdc91 59061:df6f2350edfa
   347 }
   347 }
   348 
   348 
   349 HeapRegion* G1GCAllocRegion::allocate_new_region(size_t word_size,
   349 HeapRegion* G1GCAllocRegion::allocate_new_region(size_t word_size,
   350                                                  bool force) {
   350                                                  bool force) {
   351   assert(!force, "not supported for GC alloc regions");
   351   assert(!force, "not supported for GC alloc regions");
   352   return _g1h->new_gc_alloc_region(word_size, _purpose);
   352   return _g1h->new_gc_alloc_region(word_size, _purpose, _node_index);
   353 }
   353 }
   354 
   354 
   355 void G1GCAllocRegion::retire_region(HeapRegion* alloc_region,
   355 void G1GCAllocRegion::retire_region(HeapRegion* alloc_region,
   356                                     size_t allocated_bytes) {
   356                                     size_t allocated_bytes) {
   357   _g1h->retire_gc_alloc_region(alloc_region, allocated_bytes, _purpose);
   357   _g1h->retire_gc_alloc_region(alloc_region, allocated_bytes, _purpose);