< prev index next >

src/hotspot/share/gc/shared/vmStructs_gc.hpp

Print this page




  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  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
  21  * questions.
  22  *
  23  */
  24 
  25 #ifndef SHARE_GC_SHARED_VMSTRUCTS_GC_HPP
  26 #define SHARE_GC_SHARED_VMSTRUCTS_GC_HPP
  27 
  28 #include "gc/shared/ageTable.hpp"
  29 #include "gc/shared/cardGeneration.hpp"
  30 #include "gc/shared/cardTableRS.hpp"
  31 #include "gc/shared/collectedHeap.hpp"
  32 #include "gc/shared/genCollectedHeap.hpp"
  33 #include "gc/shared/generation.hpp"
  34 #include "gc/shared/generationSpec.hpp"
  35 #include "gc/shared/oopStorage.hpp"
  36 #include "gc/shared/space.hpp"
  37 #include "gc/serial/defNewGeneration.hpp"
  38 #include "gc/serial/vmStructs_serial.hpp"
  39 #if INCLUDE_ALL_GCS
  40 #include "gc/cms/vmStructs_cms.hpp"


  41 #include "gc/g1/vmStructs_g1.hpp"


  42 #include "gc/parallel/vmStructs_parallelgc.hpp"
  43 #endif




  44 
  45 #define VM_STRUCTS_GC(nonstatic_field,                                                                                               \
  46                       volatile_nonstatic_field,                                                                                      \
  47                       static_field,                                                                                                  \
  48                       unchecked_nonstatic_field)                                                                                     \
  49   ALL_GCS_ONLY(VM_STRUCTS_CMSGC(nonstatic_field,                                                                                     \
  50                                 volatile_nonstatic_field,                                                                            \
  51                                 static_field))                                                                                       \
  52   ALL_GCS_ONLY(VM_STRUCTS_G1GC(nonstatic_field,                                                                                      \
  53                                volatile_nonstatic_field,                                                                             \
  54                                static_field))                                                                                        \
  55   ALL_GCS_ONLY(VM_STRUCTS_PARALLELGC(nonstatic_field,                                                                                \
  56                                      volatile_nonstatic_field,                                                                       \
  57                                      static_field))                                                                                  \
  58   VM_STRUCTS_SERIALGC(nonstatic_field,                                                                                               \
  59                       volatile_nonstatic_field,                                                                                      \
  60                       static_field)                                                                                                  \
  61   /**********************************************************************************/                                               \
  62   /* Generation and Space hierarchies                                               */                                               \
  63   /**********************************************************************************/                                               \
  64                                                                                                                                      \
  65   unchecked_nonstatic_field(AgeTable,          sizes,                                         sizeof(AgeTable::sizes))               \
  66                                                                                                                                      \
  67   nonstatic_field(BarrierSet,                  _fake_rtti,                                    BarrierSet::FakeRtti)                  \
  68                                                                                                                                      \
  69   nonstatic_field(BarrierSet::FakeRtti,        _concrete_tag,                                 BarrierSet::Name)                      \
  70                                                                                                                                      \
  71   nonstatic_field(BlockOffsetTable,            _bottom,                                       HeapWord*)                             \
  72   nonstatic_field(BlockOffsetTable,            _end,                                          HeapWord*)                             \
  73                                                                                                                                      \
  74   nonstatic_field(BlockOffsetSharedArray,      _reserved,                                     MemRegion)                             \
  75   nonstatic_field(BlockOffsetSharedArray,      _end,                                          HeapWord*)                             \
  76   nonstatic_field(BlockOffsetSharedArray,      _vs,                                           VirtualSpace)                          \
  77   nonstatic_field(BlockOffsetSharedArray,      _offset_array,                                 u_char*)                               \
  78                                                                                                                                      \
  79   nonstatic_field(BlockOffsetArray,            _array,                                        BlockOffsetSharedArray*)               \
  80   nonstatic_field(BlockOffsetArray,            _sp,                                           Space*)                                \


  98   nonstatic_field(CardTable,                   _cur_covered_regions,                          int)                                   \
  99   nonstatic_field(CardTable,                   _covered,                                      MemRegion*)                            \
 100   nonstatic_field(CardTable,                   _committed,                                    MemRegion*)                            \
 101   nonstatic_field(CardTable,                   _guard_region,                                 MemRegion)                             \
 102   nonstatic_field(CardTable,                   _byte_map_base,                                jbyte*)                                \
 103   nonstatic_field(CardTableBarrierSet,         _defer_initial_card_mark,                      bool)                                  \
 104   nonstatic_field(CardTableBarrierSet,         _card_table,                                   CardTable*)                            \
 105                                                                                                                                      \
 106   nonstatic_field(CollectedHeap,               _reserved,                                     MemRegion)                             \
 107   nonstatic_field(CollectedHeap,               _is_gc_active,                                 bool)                                  \
 108   nonstatic_field(CollectedHeap,               _total_collections,                            unsigned int)                          \
 109                                                                                                                                      \
 110   nonstatic_field(CompactibleSpace,            _compaction_top,                               HeapWord*)                             \
 111   nonstatic_field(CompactibleSpace,            _first_dead,                                   HeapWord*)                             \
 112   nonstatic_field(CompactibleSpace,            _end_of_live,                                  HeapWord*)                             \
 113                                                                                                                                      \
 114   nonstatic_field(ContiguousSpace,             _top,                                          HeapWord*)                             \
 115   nonstatic_field(ContiguousSpace,             _concurrent_iteration_safe_limit,              HeapWord*)                             \
 116   nonstatic_field(ContiguousSpace,             _saved_mark_word,                              HeapWord*)                             \
 117                                                                                                                                      \
 118   nonstatic_field(DefNewGeneration,            _old_gen,                                      Generation*)                           \
 119   nonstatic_field(DefNewGeneration,            _tenuring_threshold,                           uint)                                  \
 120   nonstatic_field(DefNewGeneration,            _age_table,                                    AgeTable)                              \
 121   nonstatic_field(DefNewGeneration,            _eden_space,                                   ContiguousSpace*)                      \
 122   nonstatic_field(DefNewGeneration,            _from_space,                                   ContiguousSpace*)                      \
 123   nonstatic_field(DefNewGeneration,            _to_space,                                     ContiguousSpace*)                      \
 124                                                                                                                                      \
 125   nonstatic_field(Generation,                  _reserved,                                     MemRegion)                             \
 126   nonstatic_field(Generation,                  _virtual_space,                                VirtualSpace)                          \
 127   nonstatic_field(Generation,                  _stat_record,                                  Generation::StatRecord)                \
 128                                                                                                                                      \
 129   nonstatic_field(Generation::StatRecord,      invocations,                                   int)                                   \
 130   nonstatic_field(Generation::StatRecord,      accumulated_time,                              elapsedTimer)                          \
 131                                                                                                                                      \
 132   nonstatic_field(GenerationSpec,              _name,                                         Generation::Name)                      \
 133   nonstatic_field(GenerationSpec,              _init_size,                                    size_t)                                \
 134   nonstatic_field(GenerationSpec,              _max_size,                                     size_t)                                \
 135                                                                                                                                      \
 136   nonstatic_field(GenCollectedHeap,            _young_gen,                                    Generation*)                           \
 137   nonstatic_field(GenCollectedHeap,            _old_gen,                                      Generation*)                           \
 138   nonstatic_field(GenCollectedHeap,            _young_gen_spec,                               GenerationSpec*)                       \
 139   nonstatic_field(GenCollectedHeap,            _old_gen_spec,                                 GenerationSpec*)                       \
 140                                                                                                                                      \
 141   nonstatic_field(HeapWord,                    i,                                             char*)                                 \
 142                                                                                                                                      \
 143   nonstatic_field(MemRegion,                   _start,                                        HeapWord*)                             \
 144   nonstatic_field(MemRegion,                   _word_size,                                    size_t)                                \
 145                                                                                                                                      \
 146   nonstatic_field(OffsetTableContigSpace,      _offsets,                                      BlockOffsetArray)                      \
 147                                                                                                                                      \
 148   nonstatic_field(Space,                       _bottom,                                       HeapWord*)                             \
 149   nonstatic_field(Space,                       _end,                                          HeapWord*)
 150 
 151 #define VM_TYPES_GC(declare_type,                                         \
 152                     declare_toplevel_type,                                \
 153                     declare_integer_type)                                 \
 154   ALL_GCS_ONLY(VM_TYPES_CMSGC(declare_type,                               \
 155                              declare_toplevel_type,                       \
 156                              declare_integer_type))                       \
 157   ALL_GCS_ONLY(VM_TYPES_G1GC(declare_type,                                \
 158                              declare_toplevel_type,                       \
 159                              declare_integer_type))                       \
 160   ALL_GCS_ONLY(VM_TYPES_PARALLELGC(declare_type,                          \
 161                                    declare_toplevel_type,                 \
 162                                    declare_integer_type))                 \
 163   VM_TYPES_SERIALGC(declare_type,                                         \
 164                     declare_toplevel_type,                                \
 165                     declare_integer_type)                                 \
 166   /******************************************/                            \
 167   /* Generation and space hierarchies       */                            \
 168   /* (needed for run-time type information) */                            \
 169   /******************************************/                            \
 170                                                                           \
 171   declare_toplevel_type(CollectedHeap)                                    \
 172            declare_type(GenCollectedHeap,             CollectedHeap)      \
 173   declare_toplevel_type(Generation)                                       \
 174            declare_type(DefNewGeneration,             Generation)         \
 175            declare_type(CardGeneration,               Generation)         \
 176   declare_toplevel_type(Space)                                            \
 177            declare_type(CompactibleSpace,             Space)              \
 178            declare_type(ContiguousSpace,              CompactibleSpace)   \
 179            declare_type(OffsetTableContigSpace,       ContiguousSpace)    \
 180   declare_toplevel_type(BarrierSet)                                       \
 181            declare_type(ModRefBarrierSet,             BarrierSet)         \
 182            declare_type(CardTableBarrierSet,          ModRefBarrierSet)   \
 183   declare_toplevel_type(CardTable)                                        \
 184            declare_type(CardTableRS, CardTable)                           \
 185   declare_toplevel_type(BarrierSet::Name)                                 \
 186   declare_toplevel_type(BlockOffsetSharedArray)                           \
 187   declare_toplevel_type(BlockOffsetTable)                                 \
 188            declare_type(BlockOffsetArray,             BlockOffsetTable)   \
 189            declare_type(BlockOffsetArrayContigSpace,  BlockOffsetArray)   \
 190            declare_type(BlockOffsetArrayNonContigSpace, BlockOffsetArray) \
 191                                                                           \
 192   /* Miscellaneous other GC types */                                      \
 193                                                                           \
 194   declare_toplevel_type(AgeTable)                                         \


 208   declare_toplevel_type(CardTableRS*)                                     \
 209   declare_toplevel_type(CardTableBarrierSet*)                             \
 210   declare_toplevel_type(CardTableBarrierSet**)                            \
 211   declare_toplevel_type(CollectedHeap*)                                   \
 212   declare_toplevel_type(ContiguousSpace*)                                 \
 213   declare_toplevel_type(DefNewGeneration*)                                \
 214   declare_toplevel_type(GenCollectedHeap*)                                \
 215   declare_toplevel_type(Generation*)                                      \
 216   declare_toplevel_type(GenerationSpec**)                                 \
 217   declare_toplevel_type(HeapWord*)                                        \
 218   declare_toplevel_type(HeapWord* volatile)                               \
 219   declare_toplevel_type(MemRegion*)                                       \
 220   declare_toplevel_type(OffsetTableContigSpace*)                          \
 221   declare_toplevel_type(Space*)                                           \
 222   declare_toplevel_type(ThreadLocalAllocBuffer*)                          \
 223                                                                           \
 224   declare_toplevel_type(BarrierSet::FakeRtti)
 225 
 226 #define VM_INT_CONSTANTS_GC(declare_constant,                               \
 227                             declare_constant_with_value)                    \
 228   ALL_GCS_ONLY(VM_INT_CONSTANTS_CMSGC(declare_constant,                     \
 229                                       declare_constant_with_value))         \
 230   ALL_GCS_ONLY(VM_INT_CONSTANTS_G1GC(declare_constant,                      \
 231                                      declare_constant_with_value))          \
 232   ALL_GCS_ONLY(VM_INT_CONSTANTS_PARALLELGC(declare_constant,                \


 233                                            declare_constant_with_value))    \
 234   VM_INT_CONSTANTS_SERIALGC(declare_constant,                               \
 235                             declare_constant_with_value)                    \
 236                                                                             \
 237   /********************************************/                            \
 238   /* Generation and Space Hierarchy Constants */                            \
 239   /********************************************/                            \
 240                                                                             \
 241   declare_constant(AgeTable::table_size)                                    \
 242                                                                             \
 243   declare_constant(BarrierSet::ModRef)                                      \
 244   declare_constant(BarrierSet::CardTableBarrierSet)                         \
 245                                                                             \
 246   declare_constant(BOTConstants::LogN)                                      \
 247   declare_constant(BOTConstants::LogN_words)                                \
 248   declare_constant(BOTConstants::N_bytes)                                   \
 249   declare_constant(BOTConstants::N_words)                                   \
 250   declare_constant(BOTConstants::LogBase)                                   \
 251   declare_constant(BOTConstants::Base)                                      \
 252   declare_constant(BOTConstants::N_powers)                                  \
 253                                                                             \
 254   declare_constant(CardTable::clean_card)                                   \
 255   declare_constant(CardTable::last_card)                                    \




  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  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
  21  * questions.
  22  *
  23  */
  24 
  25 #ifndef SHARE_GC_SHARED_VMSTRUCTS_GC_HPP
  26 #define SHARE_GC_SHARED_VMSTRUCTS_GC_HPP
  27 
  28 #include "gc/shared/ageTable.hpp"
  29 #include "gc/shared/cardGeneration.hpp"
  30 #include "gc/shared/cardTableRS.hpp"
  31 #include "gc/shared/collectedHeap.hpp"
  32 #include "gc/shared/genCollectedHeap.hpp"
  33 #include "gc/shared/generation.hpp"
  34 #include "gc/shared/generationSpec.hpp"
  35 #include "gc/shared/oopStorage.hpp"
  36 #include "gc/shared/space.hpp"
  37 #if INCLUDE_CMSGC


  38 #include "gc/cms/vmStructs_cms.hpp"
  39 #endif
  40 #if INCLUDE_G1GC
  41 #include "gc/g1/vmStructs_g1.hpp"
  42 #endif
  43 #if INCLUDE_PARALLELGC
  44 #include "gc/parallel/vmStructs_parallelgc.hpp"
  45 #endif
  46 #if INCLUDE_SERIALGC
  47 #include "gc/serial/defNewGeneration.hpp"
  48 #include "gc/serial/vmStructs_serial.hpp"
  49 #endif
  50 
  51 #define VM_STRUCTS_GC(nonstatic_field,                                                                                               \
  52                       volatile_nonstatic_field,                                                                                      \
  53                       static_field,                                                                                                  \
  54                       unchecked_nonstatic_field)                                                                                     \
  55   CMSGC_ONLY(VM_STRUCTS_CMSGC(nonstatic_field,                                                                                       \
  56                               volatile_nonstatic_field,                                                                              \
  57                               static_field))                                                                                         \
  58   G1GC_ONLY(VM_STRUCTS_G1GC(nonstatic_field,                                                                                         \
  59                             volatile_nonstatic_field,                                                                                \
  60                             static_field))                                                                                           \
  61   PARALLELGC_ONLY(VM_STRUCTS_PARALLELGC(nonstatic_field,                                                                             \
  62                                         volatile_nonstatic_field,                                                                    \
  63                                         static_field))                                                                               \
  64   SERIALGC_ONLY(VM_STRUCTS_SERIALGC(nonstatic_field,                                                                                 \
  65                                     volatile_nonstatic_field,                                                                        \
  66                                     static_field))                                                                                   \
  67   /**********************************************************************************/                                               \
  68   /* Generation and Space hierarchies                                               */                                               \
  69   /**********************************************************************************/                                               \
  70                                                                                                                                      \
  71   unchecked_nonstatic_field(AgeTable,          sizes,                                         sizeof(AgeTable::sizes))               \
  72                                                                                                                                      \
  73   nonstatic_field(BarrierSet,                  _fake_rtti,                                    BarrierSet::FakeRtti)                  \
  74                                                                                                                                      \
  75   nonstatic_field(BarrierSet::FakeRtti,        _concrete_tag,                                 BarrierSet::Name)                      \
  76                                                                                                                                      \
  77   nonstatic_field(BlockOffsetTable,            _bottom,                                       HeapWord*)                             \
  78   nonstatic_field(BlockOffsetTable,            _end,                                          HeapWord*)                             \
  79                                                                                                                                      \
  80   nonstatic_field(BlockOffsetSharedArray,      _reserved,                                     MemRegion)                             \
  81   nonstatic_field(BlockOffsetSharedArray,      _end,                                          HeapWord*)                             \
  82   nonstatic_field(BlockOffsetSharedArray,      _vs,                                           VirtualSpace)                          \
  83   nonstatic_field(BlockOffsetSharedArray,      _offset_array,                                 u_char*)                               \
  84                                                                                                                                      \
  85   nonstatic_field(BlockOffsetArray,            _array,                                        BlockOffsetSharedArray*)               \
  86   nonstatic_field(BlockOffsetArray,            _sp,                                           Space*)                                \


 104   nonstatic_field(CardTable,                   _cur_covered_regions,                          int)                                   \
 105   nonstatic_field(CardTable,                   _covered,                                      MemRegion*)                            \
 106   nonstatic_field(CardTable,                   _committed,                                    MemRegion*)                            \
 107   nonstatic_field(CardTable,                   _guard_region,                                 MemRegion)                             \
 108   nonstatic_field(CardTable,                   _byte_map_base,                                jbyte*)                                \
 109   nonstatic_field(CardTableBarrierSet,         _defer_initial_card_mark,                      bool)                                  \
 110   nonstatic_field(CardTableBarrierSet,         _card_table,                                   CardTable*)                            \
 111                                                                                                                                      \
 112   nonstatic_field(CollectedHeap,               _reserved,                                     MemRegion)                             \
 113   nonstatic_field(CollectedHeap,               _is_gc_active,                                 bool)                                  \
 114   nonstatic_field(CollectedHeap,               _total_collections,                            unsigned int)                          \
 115                                                                                                                                      \
 116   nonstatic_field(CompactibleSpace,            _compaction_top,                               HeapWord*)                             \
 117   nonstatic_field(CompactibleSpace,            _first_dead,                                   HeapWord*)                             \
 118   nonstatic_field(CompactibleSpace,            _end_of_live,                                  HeapWord*)                             \
 119                                                                                                                                      \
 120   nonstatic_field(ContiguousSpace,             _top,                                          HeapWord*)                             \
 121   nonstatic_field(ContiguousSpace,             _concurrent_iteration_safe_limit,              HeapWord*)                             \
 122   nonstatic_field(ContiguousSpace,             _saved_mark_word,                              HeapWord*)                             \
 123                                                                                                                                      \







 124   nonstatic_field(Generation,                  _reserved,                                     MemRegion)                             \
 125   nonstatic_field(Generation,                  _virtual_space,                                VirtualSpace)                          \
 126   nonstatic_field(Generation,                  _stat_record,                                  Generation::StatRecord)                \
 127                                                                                                                                      \
 128   nonstatic_field(Generation::StatRecord,      invocations,                                   int)                                   \
 129   nonstatic_field(Generation::StatRecord,      accumulated_time,                              elapsedTimer)                          \
 130                                                                                                                                      \
 131   nonstatic_field(GenerationSpec,              _name,                                         Generation::Name)                      \
 132   nonstatic_field(GenerationSpec,              _init_size,                                    size_t)                                \
 133   nonstatic_field(GenerationSpec,              _max_size,                                     size_t)                                \
 134                                                                                                                                      \
 135   nonstatic_field(GenCollectedHeap,            _young_gen,                                    Generation*)                           \
 136   nonstatic_field(GenCollectedHeap,            _old_gen,                                      Generation*)                           \
 137   nonstatic_field(GenCollectedHeap,            _young_gen_spec,                               GenerationSpec*)                       \
 138   nonstatic_field(GenCollectedHeap,            _old_gen_spec,                                 GenerationSpec*)                       \
 139                                                                                                                                      \
 140   nonstatic_field(HeapWord,                    i,                                             char*)                                 \
 141                                                                                                                                      \
 142   nonstatic_field(MemRegion,                   _start,                                        HeapWord*)                             \
 143   nonstatic_field(MemRegion,                   _word_size,                                    size_t)                                \
 144                                                                                                                                      \
 145   nonstatic_field(OffsetTableContigSpace,      _offsets,                                      BlockOffsetArray)                      \
 146                                                                                                                                      \
 147   nonstatic_field(Space,                       _bottom,                                       HeapWord*)                             \
 148   nonstatic_field(Space,                       _end,                                          HeapWord*)
 149 
 150 #define VM_TYPES_GC(declare_type,                                         \
 151                     declare_toplevel_type,                                \
 152                     declare_integer_type)                                 \
 153   CMSGC_ONLY(VM_TYPES_CMSGC(declare_type,                                 \
 154                             declare_toplevel_type,                        \
 155                             declare_integer_type))                        \
 156   G1GC_ONLY(VM_TYPES_G1GC(declare_type,                                   \
 157                           declare_toplevel_type,                          \
 158                           declare_integer_type))                          \
 159   PARALLELGC_ONLY(VM_TYPES_PARALLELGC(declare_type,                       \
 160                                       declare_toplevel_type,              \
 161                                       declare_integer_type))              \
 162   SERIALGC_ONLY(VM_TYPES_SERIALGC(declare_type,                           \
 163                                   declare_toplevel_type,                  \
 164                                   declare_integer_type))                  \
 165   /******************************************/                            \
 166   /* Generation and space hierarchies       */                            \
 167   /* (needed for run-time type information) */                            \
 168   /******************************************/                            \
 169                                                                           \
 170   declare_toplevel_type(CollectedHeap)                                    \
 171            declare_type(GenCollectedHeap,             CollectedHeap)      \
 172   declare_toplevel_type(Generation)                                       \

 173            declare_type(CardGeneration,               Generation)         \
 174   declare_toplevel_type(Space)                                            \
 175            declare_type(CompactibleSpace,             Space)              \
 176            declare_type(ContiguousSpace,              CompactibleSpace)   \
 177            declare_type(OffsetTableContigSpace,       ContiguousSpace)    \
 178   declare_toplevel_type(BarrierSet)                                       \
 179            declare_type(ModRefBarrierSet,             BarrierSet)         \
 180            declare_type(CardTableBarrierSet,          ModRefBarrierSet)   \
 181   declare_toplevel_type(CardTable)                                        \
 182            declare_type(CardTableRS, CardTable)                           \
 183   declare_toplevel_type(BarrierSet::Name)                                 \
 184   declare_toplevel_type(BlockOffsetSharedArray)                           \
 185   declare_toplevel_type(BlockOffsetTable)                                 \
 186            declare_type(BlockOffsetArray,             BlockOffsetTable)   \
 187            declare_type(BlockOffsetArrayContigSpace,  BlockOffsetArray)   \
 188            declare_type(BlockOffsetArrayNonContigSpace, BlockOffsetArray) \
 189                                                                           \
 190   /* Miscellaneous other GC types */                                      \
 191                                                                           \
 192   declare_toplevel_type(AgeTable)                                         \


 206   declare_toplevel_type(CardTableRS*)                                     \
 207   declare_toplevel_type(CardTableBarrierSet*)                             \
 208   declare_toplevel_type(CardTableBarrierSet**)                            \
 209   declare_toplevel_type(CollectedHeap*)                                   \
 210   declare_toplevel_type(ContiguousSpace*)                                 \
 211   declare_toplevel_type(DefNewGeneration*)                                \
 212   declare_toplevel_type(GenCollectedHeap*)                                \
 213   declare_toplevel_type(Generation*)                                      \
 214   declare_toplevel_type(GenerationSpec**)                                 \
 215   declare_toplevel_type(HeapWord*)                                        \
 216   declare_toplevel_type(HeapWord* volatile)                               \
 217   declare_toplevel_type(MemRegion*)                                       \
 218   declare_toplevel_type(OffsetTableContigSpace*)                          \
 219   declare_toplevel_type(Space*)                                           \
 220   declare_toplevel_type(ThreadLocalAllocBuffer*)                          \
 221                                                                           \
 222   declare_toplevel_type(BarrierSet::FakeRtti)
 223 
 224 #define VM_INT_CONSTANTS_GC(declare_constant,                               \
 225                             declare_constant_with_value)                    \
 226   CMSGC_ONLY(VM_INT_CONSTANTS_CMSGC(declare_constant,                       \
 227                                     declare_constant_with_value))           \
 228   G1GC_ONLY(VM_INT_CONSTANTS_G1GC(declare_constant,                         \
 229                                   declare_constant_with_value))             \
 230   PARALLELGC_ONLY(VM_INT_CONSTANTS_PARALLELGC(declare_constant,             \
 231                                               declare_constant_with_value)) \
 232   SERIALGC_ONLY(VM_INT_CONSTANTS_SERIALGC(declare_constant,                 \
 233                                           declare_constant_with_value))     \


 234                                                                             \
 235   /********************************************/                            \
 236   /* Generation and Space Hierarchy Constants */                            \
 237   /********************************************/                            \
 238                                                                             \
 239   declare_constant(AgeTable::table_size)                                    \
 240                                                                             \
 241   declare_constant(BarrierSet::ModRef)                                      \
 242   declare_constant(BarrierSet::CardTableBarrierSet)                         \
 243                                                                             \
 244   declare_constant(BOTConstants::LogN)                                      \
 245   declare_constant(BOTConstants::LogN_words)                                \
 246   declare_constant(BOTConstants::N_bytes)                                   \
 247   declare_constant(BOTConstants::N_words)                                   \
 248   declare_constant(BOTConstants::LogBase)                                   \
 249   declare_constant(BOTConstants::Base)                                      \
 250   declare_constant(BOTConstants::N_powers)                                  \
 251                                                                             \
 252   declare_constant(CardTable::clean_card)                                   \
 253   declare_constant(CardTable::last_card)                                    \


< prev index next >