Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/g1BlockOffsetTable.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 | 9441d22e429a |
children | 2c6ef90f030a |
comparison
equal
deleted
inserted
replaced
20275:e5035defa3c4 | 20276:1526a938e670 |
---|---|
24 | 24 |
25 #ifndef SHARE_VM_GC_IMPLEMENTATION_G1_G1BLOCKOFFSETTABLE_INLINE_HPP | 25 #ifndef SHARE_VM_GC_IMPLEMENTATION_G1_G1BLOCKOFFSETTABLE_INLINE_HPP |
26 #define SHARE_VM_GC_IMPLEMENTATION_G1_G1BLOCKOFFSETTABLE_INLINE_HPP | 26 #define SHARE_VM_GC_IMPLEMENTATION_G1_G1BLOCKOFFSETTABLE_INLINE_HPP |
27 | 27 |
28 #include "gc_implementation/g1/g1BlockOffsetTable.hpp" | 28 #include "gc_implementation/g1/g1BlockOffsetTable.hpp" |
29 #include "gc_implementation/g1/heapRegion.hpp" | 29 #include "gc_implementation/g1/g1CollectedHeap.inline.hpp" |
30 #include "gc_implementation/g1/heapRegion.inline.hpp" | |
30 #include "memory/space.hpp" | 31 #include "memory/space.hpp" |
31 | 32 |
32 inline HeapWord* G1BlockOffsetTable::block_start(const void* addr) { | 33 inline HeapWord* G1BlockOffsetTable::block_start(const void* addr) { |
33 if (addr >= _bottom && addr < _end) { | 34 if (addr >= _bottom && addr < _end) { |
34 return block_start_unsafe(addr); | 35 return block_start_unsafe(addr); |