hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/vmStructs_cms.hpp
changeset 12507 6182ca66bc7b
parent 7397 5b173b4ca846
child 12509 6228e2085074
equal deleted inserted replaced
12497:351481a5cf31 12507:6182ca66bc7b
    42      static_field(ConcurrentMarkSweepThread,   _collector,                                    CMSCollector*)                         \
    42      static_field(ConcurrentMarkSweepThread,   _collector,                                    CMSCollector*)                         \
    43   volatile_nonstatic_field(FreeChunk,          _size,                                         size_t)                                \
    43   volatile_nonstatic_field(FreeChunk,          _size,                                         size_t)                                \
    44   nonstatic_field(FreeChunk,                   _next,                                         FreeChunk*)                            \
    44   nonstatic_field(FreeChunk,                   _next,                                         FreeChunk*)                            \
    45   nonstatic_field(FreeChunk,                   _prev,                                         FreeChunk*)                            \
    45   nonstatic_field(FreeChunk,                   _prev,                                         FreeChunk*)                            \
    46   nonstatic_field(LinearAllocBlock,            _word_size,                                    size_t)                                \
    46   nonstatic_field(LinearAllocBlock,            _word_size,                                    size_t)                                \
    47   nonstatic_field(FreeList,                    _size,                                         size_t)                                \
    47   nonstatic_field(FreeList<FreeChunk>,         _size,                                         size_t)                                \
    48   nonstatic_field(FreeList,                    _count,                                        ssize_t)                               \
    48   nonstatic_field(FreeList<FreeChunk>,         _count,                                        ssize_t)                               \
    49   nonstatic_field(BinaryTreeDictionary,        _totalSize,                                    size_t)                                \
    49   nonstatic_field(BinaryTreeDictionary<FreeChunk>,_totalSize,                                 size_t)                                \
    50   nonstatic_field(CompactibleFreeListSpace,    _dictionary,                                   FreeBlockDictionary*)                  \
    50   nonstatic_field(CompactibleFreeListSpace,    _dictionary,                                   FreeBlockDictionary<FreeChunk>*)       \
    51   nonstatic_field(CompactibleFreeListSpace,    _indexedFreeList[0],                           FreeList)                              \
    51   nonstatic_field(CompactibleFreeListSpace,    _indexedFreeList[0],                           FreeList<FreeChunk>)                   \
    52   nonstatic_field(CompactibleFreeListSpace,    _smallLinearAllocBlock,                        LinearAllocBlock)
    52   nonstatic_field(CompactibleFreeListSpace,    _smallLinearAllocBlock,                        LinearAllocBlock)
    53 
    53 
    54 
    54 
    55 #define VM_TYPES_CMS(declare_type,                                        \
    55 #define VM_TYPES_CMS(declare_type,                                        \
    56                      declare_toplevel_type)                               \
    56                      declare_toplevel_type)                               \
    68   declare_toplevel_type(ConcurrentMarkSweepGeneration*)                   \
    68   declare_toplevel_type(ConcurrentMarkSweepGeneration*)                   \
    69   declare_toplevel_type(SurrogateLockerThread*)                           \
    69   declare_toplevel_type(SurrogateLockerThread*)                           \
    70   declare_toplevel_type(CompactibleFreeListSpace*)                        \
    70   declare_toplevel_type(CompactibleFreeListSpace*)                        \
    71   declare_toplevel_type(CMSCollector*)                                    \
    71   declare_toplevel_type(CMSCollector*)                                    \
    72   declare_toplevel_type(FreeChunk*)                                       \
    72   declare_toplevel_type(FreeChunk*)                                       \
    73   declare_toplevel_type(BinaryTreeDictionary*)                            \
    73   declare_toplevel_type(BinaryTreeDictionary<FreeChunk>*)                 \
    74   declare_toplevel_type(FreeBlockDictionary*)                             \
    74   declare_toplevel_type(FreeBlockDictionary<FreeChunk>*)                  \
    75   declare_toplevel_type(FreeList*)                                        \
    75   declare_toplevel_type(FreeList<FreeChunk>*)                             \
    76   declare_toplevel_type(FreeList)                                         \
    76   declare_toplevel_type(FreeList<FreeChunk>)                              \
    77   declare_toplevel_type(LinearAllocBlock)                                 \
    77   declare_toplevel_type(LinearAllocBlock)                                 \
    78   declare_toplevel_type(FreeBlockDictionary)                              \
    78   declare_toplevel_type(FreeBlockDictionary<FreeChunk>)                   \
    79             declare_type(BinaryTreeDictionary,        FreeBlockDictionary)
    79             declare_type(BinaryTreeDictionary<FreeChunk>, FreeBlockDictionary<FreeChunk>)
    80 
    80 
    81 #define VM_INT_CONSTANTS_CMS(declare_constant)                            \
    81 #define VM_INT_CONSTANTS_CMS(declare_constant)                            \
    82   declare_constant(Generation::ConcurrentMarkSweep)                       \
    82   declare_constant(Generation::ConcurrentMarkSweep)                       \
    83   declare_constant(PermGen::ConcurrentMarkSweep)
    83   declare_constant(PermGen::ConcurrentMarkSweep)
    84 
    84