comparison src/share/vm/gc_implementation/g1/g1AllocRegion.inline.hpp @ 20276:1526a938e670

8047818: G1 HeapRegions can no longer be ContiguousSpaces Summary: Change parent of G1OffsetTableContigSpace to CompactibleSpace, reimplement missing functionality Reviewed-by: stefank, jmasa, tschatzl
author mgerdin
date Thu, 26 Jun 2014 11:36:58 +0200
parents abdfc822206f
children 7848fc12602b
comparison
equal deleted inserted replaced
20275:e5035defa3c4 20276:1526a938e670
24 24
25 #ifndef SHARE_VM_GC_IMPLEMENTATION_G1_G1ALLOCREGION_INLINE_HPP 25 #ifndef SHARE_VM_GC_IMPLEMENTATION_G1_G1ALLOCREGION_INLINE_HPP
26 #define SHARE_VM_GC_IMPLEMENTATION_G1_G1ALLOCREGION_INLINE_HPP 26 #define SHARE_VM_GC_IMPLEMENTATION_G1_G1ALLOCREGION_INLINE_HPP
27 27
28 #include "gc_implementation/g1/g1AllocRegion.hpp" 28 #include "gc_implementation/g1/g1AllocRegion.hpp"
29 #include "gc_implementation/g1/heapRegion.inline.hpp"
29 30
30 inline HeapWord* G1AllocRegion::allocate(HeapRegion* alloc_region, 31 inline HeapWord* G1AllocRegion::allocate(HeapRegion* alloc_region,
31 size_t word_size, 32 size_t word_size,
32 bool bot_updates) { 33 bool bot_updates) {
33 assert(alloc_region != NULL, err_msg("pre-condition")); 34 assert(alloc_region != NULL, err_msg("pre-condition"));