src/share/vm/memory/blockOffsetTable.inline.hpp
Print this page
*** 20,29 ****
--- 20,39 ----
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
+ #ifndef SHARE_VM_MEMORY_BLOCKOFFSETTABLE_INLINE_HPP
+ #define SHARE_VM_MEMORY_BLOCKOFFSETTABLE_INLINE_HPP
+
+ #include "memory/blockOffsetTable.hpp"
+ #include "memory/space.hpp"
+ #include "runtime/safepoint.hpp"
+ #ifndef SERIALGC
+ #include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp"
+ #endif
+
//////////////////////////////////////////////////////////////////////////
// BlockOffsetTable inlines
//////////////////////////////////////////////////////////////////////////
inline HeapWord* BlockOffsetTable::block_start(const void* addr) const {
if (addr >= _bottom && addr < _end) {
*** 86,90 ****
--- 96,102 ----
// we are resetting following a compaction
_unallocated_block = blk_start;
}
}
}
+
+ #endif // SHARE_VM_MEMORY_BLOCKOFFSETTABLE_INLINE_HPP