< prev index next >

src/hotspot/share/runtime/globals.hpp

Print this page

 113 const size_t defaultSymbolTableSize = 32768; // 2^15
 114 const size_t minimumSymbolTableSize = 1024;
 115 
 116 #ifdef _LP64
 117 #define LP64_RUNTIME_FLAGS(develop,                                         \
 118                            develop_pd,                                      \
 119                            product,                                         \
 120                            product_pd,                                      \
 121                            notproduct,                                      \
 122                            range,                                           \
 123                            constraint)                                      \
 124                                                                             \
 125   product(bool, UseCompressedOops, false,                                   \
 126           "Use 32-bit object references in 64-bit VM. "                     \
 127           "lp64_product means flag is always constant in 32 bit VM")        \
 128                                                                             \
 129   product(bool, UseCompressedClassPointers, true,                           \
 130           "Use 32-bit class pointers in 64-bit VM. "                        \
 131           "lp64_product means flag is always constant in 32 bit VM")        \
 132                                                                             \



 133   product(int, ObjectAlignmentInBytes, 8,                                   \
 134           "Default object alignment in bytes, 8 is minimum")                \
 135           range(8, 256)                                                     \
 136           constraint(ObjectAlignmentInBytesConstraintFunc, AtParse)
 137 
 138 #else
 139 // !_LP64
 140 
 141 #define LP64_RUNTIME_FLAGS(develop,                                         \
 142                            develop_pd,                                      \
 143                            product,                                         \
 144                            product_pd,                                      \
 145                            notproduct,                                      \
 146                            range,                                           \
 147                            constraint)
 148 const bool UseCompressedOops = false;
 149 const bool UseCompressedClassPointers = false;

 150 const int ObjectAlignmentInBytes = 8;
 151 
 152 #endif // _LP64
 153 
 154 #define RUNTIME_FLAGS(develop,                                              \
 155                       develop_pd,                                           \
 156                       product,                                              \
 157                       product_pd,                                           \
 158                       notproduct,                                           \
 159                       range,                                                \
 160                       constraint)                                           \
 161                                                                             \
 162   notproduct(bool, CheckCompressedOops, true,                               \
 163           "Generate checks in encoding/decoding code in debug VM")          \
 164                                                                             \
 165   product(uintx, HeapSearchSteps, 3 PPC64_ONLY(+17),                        \
 166           "Heap allocation steps through preferred address regions to find" \
 167           " where it can allocate the heap. Number of steps to take per "   \
 168           "region.")                                                        \
 169           range(1, max_uintx)                                               \

 113 const size_t defaultSymbolTableSize = 32768; // 2^15
 114 const size_t minimumSymbolTableSize = 1024;
 115 
 116 #ifdef _LP64
 117 #define LP64_RUNTIME_FLAGS(develop,                                         \
 118                            develop_pd,                                      \
 119                            product,                                         \
 120                            product_pd,                                      \
 121                            notproduct,                                      \
 122                            range,                                           \
 123                            constraint)                                      \
 124                                                                             \
 125   product(bool, UseCompressedOops, false,                                   \
 126           "Use 32-bit object references in 64-bit VM. "                     \
 127           "lp64_product means flag is always constant in 32 bit VM")        \
 128                                                                             \
 129   product(bool, UseCompressedClassPointers, true,                           \
 130           "Use 32-bit class pointers in 64-bit VM. "                        \
 131           "lp64_product means flag is always constant in 32 bit VM")        \
 132                                                                             \
 133   product(bool, UseCompactObjectHeaders, false, EXPERIMENTAL,               \
 134           "Use compact 64-bit object headers in 64-bit VM")                 \
 135                                                                             \
 136   product(int, ObjectAlignmentInBytes, 8,                                   \
 137           "Default object alignment in bytes, 8 is minimum")                \
 138           range(8, 256)                                                     \
 139           constraint(ObjectAlignmentInBytesConstraintFunc, AtParse)
 140 
 141 #else
 142 // !_LP64
 143 
 144 #define LP64_RUNTIME_FLAGS(develop,                                         \
 145                            develop_pd,                                      \
 146                            product,                                         \
 147                            product_pd,                                      \
 148                            notproduct,                                      \
 149                            range,                                           \
 150                            constraint)
 151 const bool UseCompressedOops = false;
 152 const bool UseCompressedClassPointers = false;
 153 const bool UseCompactObjectHeaders = false;
 154 const int ObjectAlignmentInBytes = 8;
 155 
 156 #endif // _LP64
 157 
 158 #define RUNTIME_FLAGS(develop,                                              \
 159                       develop_pd,                                           \
 160                       product,                                              \
 161                       product_pd,                                           \
 162                       notproduct,                                           \
 163                       range,                                                \
 164                       constraint)                                           \
 165                                                                             \
 166   notproduct(bool, CheckCompressedOops, true,                               \
 167           "Generate checks in encoding/decoding code in debug VM")          \
 168                                                                             \
 169   product(uintx, HeapSearchSteps, 3 PPC64_ONLY(+17),                        \
 170           "Heap allocation steps through preferred address regions to find" \
 171           " where it can allocate the heap. Number of steps to take per "   \
 172           "region.")                                                        \
 173           range(1, max_uintx)                                               \
< prev index next >