src/share/vm/memory/generation.hpp

changeset 2036
126ea7725993
parent 1907
c18cbe5936b8
child 2243
a7214d79fcf1
equal deleted inserted replaced
2035:a64438a2b7e8 2036:126ea7725993
129 }; 129 };
130 130
131 enum SomePublicConstants { 131 enum SomePublicConstants {
132 // Generations are GenGrain-aligned and have size that are multiples of 132 // Generations are GenGrain-aligned and have size that are multiples of
133 // GenGrain. 133 // GenGrain.
134 LogOfGenGrain = 16, 134 // Note: on ARM we add 1 bit for card_table_base to be properly aligned
135 // (we expect its low byte to be zero - see implementation of post_barrier)
136 LogOfGenGrain = 16 ARM_ONLY(+1),
135 GenGrain = 1 << LogOfGenGrain 137 GenGrain = 1 << LogOfGenGrain
136 }; 138 };
137 139
138 // allocate and initialize ("weak") refs processing support 140 // allocate and initialize ("weak") refs processing support
139 virtual void ref_processor_init(); 141 virtual void ref_processor_init();

mercurial