< prev index next >

src/hotspot/share/runtime/globals.hpp

Print this page

 108 // Default and minimum StringTable and SymbolTable size values
 109 // Must be powers of 2
 110 const size_t defaultStringTableSize = NOT_LP64(1024) LP64_ONLY(65536);
 111 const size_t minimumStringTableSize = 128;
 112 const size_t defaultSymbolTableSize = 32768; // 2^15
 113 const size_t minimumSymbolTableSize = 1024;
 114 
 115 #ifdef _LP64
 116 #define LP64_RUNTIME_FLAGS(develop,                                         \
 117                            develop_pd,                                      \
 118                            product,                                         \
 119                            product_pd,                                      \
 120                            notproduct,                                      \
 121                            range,                                           \
 122                            constraint)                                      \
 123                                                                             \
 124   product(bool, UseCompressedOops, false,                                   \
 125           "Use 32-bit object references in 64-bit VM. "                     \
 126           "lp64_product means flag is always constant in 32 bit VM")        \
 127                                                                             \
 128   product(bool, UseCompressedClassPointers, false,                          \
 129           "Use 32-bit class pointers in 64-bit VM. "                        \
 130           "lp64_product means flag is always constant in 32 bit VM")        \
 131                                                                             \
 132   product(intx, ObjectAlignmentInBytes, 8,                                  \
 133           "Default object alignment in bytes, 8 is minimum")                \
 134           range(8, 256)                                                     \
 135           constraint(ObjectAlignmentInBytesConstraintFunc, AtParse)
 136 
 137 #else
 138 // !_LP64
 139 
 140 #define LP64_RUNTIME_FLAGS(develop,                                         \
 141                            develop_pd,                                      \
 142                            product,                                         \
 143                            product_pd,                                      \
 144                            notproduct,                                      \
 145                            range,                                           \
 146                            constraint)
 147 const bool UseCompressedOops = false;
 148 const bool UseCompressedClassPointers = false;

2026   JFR_ONLY(product(ccstr, FlightRecorderOptions, NULL,                      \
2027           "Flight Recorder options"))                                       \
2028                                                                             \
2029   JFR_ONLY(product(ccstr, StartFlightRecording, NULL,                       \
2030           "Start flight recording with options"))                           \
2031                                                                             \
2032   product(bool, UseFastUnorderedTimeStamps, false, EXPERIMENTAL,            \
2033           "Use platform unstable time where supported for timestamps only") \
2034                                                                             \
2035   product(bool, UseEmptySlotsInSupers, true,                                \
2036                 "Allow allocating fields in empty slots of super-classes")  \
2037                                                                             \
2038   product(bool, DeoptimizeNMethodBarriersALot, false, DIAGNOSTIC,           \
2039                 "Make nmethod barriers deoptimise a lot.")                  \
2040                                                                             \
2041   develop(bool, VerifyCrossModifyFence,                                     \
2042           false AARCH64_ONLY(DEBUG_ONLY(||true)),                           \
2043              "Mark all threads after a safepoint, and clear on a modify "   \
2044              "fence. Add cleanliness checks.")                              \
2045                                                                             \
2046   develop(bool, TraceOptimizedUpcallStubs, false,                              \
2047                 "Trace optimized upcall stub generation")                      \






2048 
2049 // end of RUNTIME_FLAGS
2050 
2051 DECLARE_FLAGS(LP64_RUNTIME_FLAGS)
2052 DECLARE_ARCH_FLAGS(ARCH_FLAGS)
2053 DECLARE_FLAGS(RUNTIME_FLAGS)
2054 DECLARE_FLAGS(RUNTIME_OS_FLAGS)
2055 
2056 #endif // SHARE_RUNTIME_GLOBALS_HPP

 108 // Default and minimum StringTable and SymbolTable size values
 109 // Must be powers of 2
 110 const size_t defaultStringTableSize = NOT_LP64(1024) LP64_ONLY(65536);
 111 const size_t minimumStringTableSize = 128;
 112 const size_t defaultSymbolTableSize = 32768; // 2^15
 113 const size_t minimumSymbolTableSize = 1024;
 114 
 115 #ifdef _LP64
 116 #define LP64_RUNTIME_FLAGS(develop,                                         \
 117                            develop_pd,                                      \
 118                            product,                                         \
 119                            product_pd,                                      \
 120                            notproduct,                                      \
 121                            range,                                           \
 122                            constraint)                                      \
 123                                                                             \
 124   product(bool, UseCompressedOops, false,                                   \
 125           "Use 32-bit object references in 64-bit VM. "                     \
 126           "lp64_product means flag is always constant in 32 bit VM")        \
 127                                                                             \
 128   product(bool, UseCompressedClassPointers, true,                           \
 129           "Use 32-bit class pointers in 64-bit VM. "                        \
 130           "lp64_product means flag is always constant in 32 bit VM")        \
 131                                                                             \
 132   product(intx, ObjectAlignmentInBytes, 8,                                  \
 133           "Default object alignment in bytes, 8 is minimum")                \
 134           range(8, 256)                                                     \
 135           constraint(ObjectAlignmentInBytesConstraintFunc, AtParse)
 136 
 137 #else
 138 // !_LP64
 139 
 140 #define LP64_RUNTIME_FLAGS(develop,                                         \
 141                            develop_pd,                                      \
 142                            product,                                         \
 143                            product_pd,                                      \
 144                            notproduct,                                      \
 145                            range,                                           \
 146                            constraint)
 147 const bool UseCompressedOops = false;
 148 const bool UseCompressedClassPointers = false;

2026   JFR_ONLY(product(ccstr, FlightRecorderOptions, NULL,                      \
2027           "Flight Recorder options"))                                       \
2028                                                                             \
2029   JFR_ONLY(product(ccstr, StartFlightRecording, NULL,                       \
2030           "Start flight recording with options"))                           \
2031                                                                             \
2032   product(bool, UseFastUnorderedTimeStamps, false, EXPERIMENTAL,            \
2033           "Use platform unstable time where supported for timestamps only") \
2034                                                                             \
2035   product(bool, UseEmptySlotsInSupers, true,                                \
2036                 "Allow allocating fields in empty slots of super-classes")  \
2037                                                                             \
2038   product(bool, DeoptimizeNMethodBarriersALot, false, DIAGNOSTIC,           \
2039                 "Make nmethod barriers deoptimise a lot.")                  \
2040                                                                             \
2041   develop(bool, VerifyCrossModifyFence,                                     \
2042           false AARCH64_ONLY(DEBUG_ONLY(||true)),                           \
2043              "Mark all threads after a safepoint, and clear on a modify "   \
2044              "fence. Add cleanliness checks.")                              \
2045                                                                             \
2046   product(bool, HeapObjectStats, false, DIAGNOSTIC,                         \
2047              "Enable gathering of heap object statistics")                  \
2048                                                                             \
2049   product(size_t, HeapObjectStatsSamplingInterval, 500, DIAGNOSTIC,         \
2050              "Heap object statistics sampling interval (ms)")               \
2051                                                                             \
2052   develop(bool, TraceOptimizedUpcallStubs, false,                           \
2053                 "Trace optimized upcall stub generation")                   \
2054 
2055 // end of RUNTIME_FLAGS
2056 
2057 DECLARE_FLAGS(LP64_RUNTIME_FLAGS)
2058 DECLARE_ARCH_FLAGS(ARCH_FLAGS)
2059 DECLARE_FLAGS(RUNTIME_FLAGS)
2060 DECLARE_FLAGS(RUNTIME_OS_FLAGS)
2061 
2062 #endif // SHARE_RUNTIME_GLOBALS_HPP
< prev index next >