hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.hpp
equal
deleted
inserted
replaced
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 * |
22 * |
23 */ |
23 */ |
|
24 |
|
25 #ifndef SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_COMPACTIBLEFREELISTSPACE_HPP |
|
26 #define SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_COMPACTIBLEFREELISTSPACE_HPP |
|
27 |
|
28 #include "gc_implementation/concurrentMarkSweep/binaryTreeDictionary.hpp" |
|
29 #include "gc_implementation/concurrentMarkSweep/freeList.hpp" |
|
30 #include "gc_implementation/concurrentMarkSweep/promotionInfo.hpp" |
|
31 #include "memory/blockOffsetTable.inline.hpp" |
|
32 #include "memory/space.hpp" |
24 |
33 |
25 // Classes in support of keeping track of promotions into a non-Contiguous |
34 // Classes in support of keeping track of promotions into a non-Contiguous |
26 // space, in this case a CompactibleFreeListSpace. |
35 // space, in this case a CompactibleFreeListSpace. |
27 |
36 |
28 // Forward declarations |
37 // Forward declarations |
644 const size_t CMSSpoolBlockSize = 256; |
653 const size_t CMSSpoolBlockSize = 256; |
645 const size_t sz = heap_word_size(sizeof(SpoolBlock) + sizeof(markOop) |
654 const size_t sz = heap_word_size(sizeof(SpoolBlock) + sizeof(markOop) |
646 * CMSSpoolBlockSize); |
655 * CMSSpoolBlockSize); |
647 return CompactibleFreeListSpace::adjustObjectSize(sz); |
656 return CompactibleFreeListSpace::adjustObjectSize(sz); |
648 } |
657 } |
|
658 |
|
659 #endif // SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_COMPACTIBLEFREELISTSPACE_HPP |