hotspot/src/share/vm/gc_implementation/g1/heapRegion.inline.hpp
changeset 25361 5146d1e12a2f
parent 12508 d76458352d62
child 25481 1427aa24638c
equal deleted inserted replaced
25360:5b6141bf7564 25361:5146d1e12a2f
    22  *
    22  *
    23  */
    23  */
    24 
    24 
    25 #ifndef SHARE_VM_GC_IMPLEMENTATION_G1_HEAPREGION_INLINE_HPP
    25 #ifndef SHARE_VM_GC_IMPLEMENTATION_G1_HEAPREGION_INLINE_HPP
    26 #define SHARE_VM_GC_IMPLEMENTATION_G1_HEAPREGION_INLINE_HPP
    26 #define SHARE_VM_GC_IMPLEMENTATION_G1_HEAPREGION_INLINE_HPP
       
    27 
       
    28 #include "gc_implementation/g1/g1BlockOffsetTable.inline.hpp"
    27 
    29 
    28 inline HeapWord* G1OffsetTableContigSpace::allocate(size_t size) {
    30 inline HeapWord* G1OffsetTableContigSpace::allocate(size_t size) {
    29   HeapWord* res = ContiguousSpace::allocate(size);
    31   HeapWord* res = ContiguousSpace::allocate(size);
    30   if (res != NULL) {
    32   if (res != NULL) {
    31     _offsets.alloc_block(res, size);
    33     _offsets.alloc_block(res, size);