Mercurial > hg > truffle
comparison src/share/vm/memory/generation.hpp @ 1681:126ea7725993
6953477: Increase portability and flexibility of building Hotspot
Summary: A collection of portability improvements including shared code support for PPC, ARM platforms, software floating point, cross compilation support and improvements in error crash detail.
Reviewed-by: phh, never, coleenp, dholmes
author | bobv |
---|---|
date | Tue, 03 Aug 2010 08:13:38 -0400 |
parents | c18cbe5936b8 |
children | a7214d79fcf1 |
comparison
equal
deleted
inserted
replaced
1680:a64438a2b7e8 | 1681: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(); |