equal
deleted
inserted
replaced
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); |