< prev index next >

src/hotspot/share/runtime/globals.hpp

Print this page

 763           range(min_intx, max_intx)                                         \
 764                                                                             \
 765   product(bool, EagerXrunInit, false,                                       \
 766           "Eagerly initialize -Xrun libraries; allows startup profiling, "  \
 767           "but not all -Xrun libraries may support the state of the VM "    \
 768           "at this time")                                                   \
 769                                                                             \
 770   product(bool, PreserveAllAnnotations, false,                              \
 771           "Preserve RuntimeInvisibleAnnotations as well "                   \
 772           "as RuntimeVisibleAnnotations")                                   \
 773                                                                             \
 774   develop(uintx, PreallocatedOutOfMemoryErrorCount, 4,                      \
 775           "Number of OutOfMemoryErrors preallocated with backtrace")        \
 776                                                                             \
 777   product(bool, UseXMMForArrayCopy, false,                                  \
 778           "Use SSE2 MOVQ instruction for Arraycopy")                        \
 779                                                                             \
 780   notproduct(bool, PrintFieldLayout, false,                                 \
 781           "Print field layout for each class")                              \
 782                                                                             \


















 783   /* Need to limit the extent of the padding to reasonable size.          */\
 784   /* 8K is well beyond the reasonable HW cache line size, even with       */\
 785   /* aggressive prefetching, while still leaving the room for segregating */\
 786   /* among the distinct pages.                                            */\
 787   product(intx, ContendedPaddingWidth, 128,                                 \
 788           "How many bytes to pad the fields/classes marked @Contended with")\
 789           range(0, 8192)                                                    \
 790           constraint(ContendedPaddingWidthConstraintFunc,AfterErgo)         \
 791                                                                             \
 792   product(bool, EnableContended, true,                                      \
 793           "Enable @Contended annotation support")                           \
 794                                                                             \
 795   product(bool, RestrictContended, true,                                    \
 796           "Restrict @Contended to trusted classes")                         \
 797                                                                             \
 798   product(intx, DiagnoseSyncOnValueBasedClasses, 0, DIAGNOSTIC,             \
 799              "Detect and take action upon identifying synchronization on "  \
 800              "value based classes. Modes: "                                 \
 801              "0: off; "                                                     \
 802              "1: exit with fatal error; "                                   \

2016           "On internal errors, include registers in error report.")         \
2017                                                                             \
2018   product(bool, UseSwitchProfiling, true, DIAGNOSTIC,                       \
2019           "leverage profiling for table/lookup switch")                     \
2020                                                                             \
2021   develop(bool, TraceMemoryWriteback, false,                                \
2022           "Trace memory writeback operations")                              \
2023                                                                             \
2024   JFR_ONLY(product(bool, FlightRecorder, false,                             \
2025           "(Deprecated) Enable Flight Recorder"))                           \
2026                                                                             \
2027   JFR_ONLY(product(ccstr, FlightRecorderOptions, NULL,                      \
2028           "Flight Recorder options"))                                       \
2029                                                                             \
2030   JFR_ONLY(product(ccstr, StartFlightRecording, NULL,                       \
2031           "Start flight recording with options"))                           \
2032                                                                             \
2033   product(bool, UseFastUnorderedTimeStamps, false, EXPERIMENTAL,            \
2034           "Use platform unstable time where supported for timestamps only") \
2035                                                                             \




















2036   product(bool, UseEmptySlotsInSupers, true,                                \
2037                 "Allow allocating fields in empty slots of super-classes")  \
2038                                                                             \
2039   product(bool, DeoptimizeNMethodBarriersALot, false, DIAGNOSTIC,           \
2040                 "Make nmethod barriers deoptimise a lot.")                  \
2041                                                                             \
2042   develop(bool, VerifyCrossModifyFence,                                     \
2043           false AARCH64_ONLY(DEBUG_ONLY(||true)),                           \
2044              "Mark all threads after a safepoint, and clear on a modify "   \
2045              "fence. Add cleanliness checks.")                              \
2046                                                                             \
2047   develop(bool, TraceOptimizedUpcallStubs, false,                              \
2048                 "Trace optimized upcall stub generation")                      \
2049 
2050 // end of RUNTIME_FLAGS
2051 
2052 DECLARE_FLAGS(LP64_RUNTIME_FLAGS)
2053 DECLARE_ARCH_FLAGS(ARCH_FLAGS)
2054 DECLARE_FLAGS(RUNTIME_FLAGS)
2055 DECLARE_FLAGS(RUNTIME_OS_FLAGS)

 763           range(min_intx, max_intx)                                         \
 764                                                                             \
 765   product(bool, EagerXrunInit, false,                                       \
 766           "Eagerly initialize -Xrun libraries; allows startup profiling, "  \
 767           "but not all -Xrun libraries may support the state of the VM "    \
 768           "at this time")                                                   \
 769                                                                             \
 770   product(bool, PreserveAllAnnotations, false,                              \
 771           "Preserve RuntimeInvisibleAnnotations as well "                   \
 772           "as RuntimeVisibleAnnotations")                                   \
 773                                                                             \
 774   develop(uintx, PreallocatedOutOfMemoryErrorCount, 4,                      \
 775           "Number of OutOfMemoryErrors preallocated with backtrace")        \
 776                                                                             \
 777   product(bool, UseXMMForArrayCopy, false,                                  \
 778           "Use SSE2 MOVQ instruction for Arraycopy")                        \
 779                                                                             \
 780   notproduct(bool, PrintFieldLayout, false,                                 \
 781           "Print field layout for each class")                              \
 782                                                                             \
 783   notproduct(bool, PrintInlineLayout, false,                                \
 784           "Print field layout for each inline type")                        \
 785                                                                             \
 786   notproduct(bool, PrintFlatArrayLayout, false,                             \
 787           "Print array layout for each inline type array")                  \
 788                                                                             \
 789   product(intx, FlatArrayElementMaxSize, -1,                                \
 790           "Max size for flattening inline array elements, <0 no limit")     \
 791                                                                             \
 792   product(intx, InlineFieldMaxFlatSize, 128,                                \
 793           "Max size for flattening inline type fields, <0 no limit")        \
 794                                                                             \
 795   product(intx, FlatArrayElementMaxOops, 4,                                 \
 796           "Max nof embedded object references in an inline type to flatten, <0 no limit")  \
 797                                                                             \
 798   product(bool, InlineArrayAtomicAccess, false,                             \
 799           "Atomic inline array accesses by-default, for all inline arrays") \
 800                                                                             \
 801   /* Need to limit the extent of the padding to reasonable size.          */\
 802   /* 8K is well beyond the reasonable HW cache line size, even with       */\
 803   /* aggressive prefetching, while still leaving the room for segregating */\
 804   /* among the distinct pages.                                            */\
 805   product(intx, ContendedPaddingWidth, 128,                                 \
 806           "How many bytes to pad the fields/classes marked @Contended with")\
 807           range(0, 8192)                                                    \
 808           constraint(ContendedPaddingWidthConstraintFunc,AfterErgo)         \
 809                                                                             \
 810   product(bool, EnableContended, true,                                      \
 811           "Enable @Contended annotation support")                           \
 812                                                                             \
 813   product(bool, RestrictContended, true,                                    \
 814           "Restrict @Contended to trusted classes")                         \
 815                                                                             \
 816   product(intx, DiagnoseSyncOnValueBasedClasses, 0, DIAGNOSTIC,             \
 817              "Detect and take action upon identifying synchronization on "  \
 818              "value based classes. Modes: "                                 \
 819              "0: off; "                                                     \
 820              "1: exit with fatal error; "                                   \

2034           "On internal errors, include registers in error report.")         \
2035                                                                             \
2036   product(bool, UseSwitchProfiling, true, DIAGNOSTIC,                       \
2037           "leverage profiling for table/lookup switch")                     \
2038                                                                             \
2039   develop(bool, TraceMemoryWriteback, false,                                \
2040           "Trace memory writeback operations")                              \
2041                                                                             \
2042   JFR_ONLY(product(bool, FlightRecorder, false,                             \
2043           "(Deprecated) Enable Flight Recorder"))                           \
2044                                                                             \
2045   JFR_ONLY(product(ccstr, FlightRecorderOptions, NULL,                      \
2046           "Flight Recorder options"))                                       \
2047                                                                             \
2048   JFR_ONLY(product(ccstr, StartFlightRecording, NULL,                       \
2049           "Start flight recording with options"))                           \
2050                                                                             \
2051   product(bool, UseFastUnorderedTimeStamps, false, EXPERIMENTAL,            \
2052           "Use platform unstable time where supported for timestamps only") \
2053                                                                             \
2054   product(bool, EnableValhalla, true,                                       \
2055           "Enable experimental Valhalla features")                          \
2056                                                                             \
2057   product_pd(bool, InlineTypePassFieldsAsArgs,                              \
2058           "Pass each inline type field as an argument at calls")            \
2059                                                                             \
2060   product_pd(bool, InlineTypeReturnedAsFields,                              \
2061           "Return fields instead of an inline type reference")              \
2062                                                                             \
2063   develop(bool, StressInlineTypeReturnedAsFields, false,                    \
2064           "Stress return of fields instead of an inline type reference")    \
2065                                                                             \
2066   product(bool, UseArrayMarkWordCheck, NOT_LP64(false) LP64_ONLY(true),     \
2067           "Use bits in the mark word to check for flat/null-free arrays")   \
2068                                                                             \
2069   product(ccstrlist, ForceNonTearable, "", DIAGNOSTIC,                      \
2070           "List of inline classes which are forced to be atomic "           \
2071           "(whitespace and commas separate names, "                         \
2072           "and leading and trailing stars '*' are wildcards)")              \
2073                                                                             \
2074   product(bool, UseEmptySlotsInSupers, true,                                \
2075                 "Allow allocating fields in empty slots of super-classes")  \
2076                                                                             \
2077   product(bool, DeoptimizeNMethodBarriersALot, false, DIAGNOSTIC,           \
2078                 "Make nmethod barriers deoptimise a lot.")                  \
2079                                                                             \
2080   develop(bool, VerifyCrossModifyFence,                                     \
2081           false AARCH64_ONLY(DEBUG_ONLY(||true)),                           \
2082              "Mark all threads after a safepoint, and clear on a modify "   \
2083              "fence. Add cleanliness checks.")                              \
2084                                                                             \
2085   develop(bool, TraceOptimizedUpcallStubs, false,                              \
2086                 "Trace optimized upcall stub generation")                      \
2087 
2088 // end of RUNTIME_FLAGS
2089 
2090 DECLARE_FLAGS(LP64_RUNTIME_FLAGS)
2091 DECLARE_ARCH_FLAGS(ARCH_FLAGS)
2092 DECLARE_FLAGS(RUNTIME_FLAGS)
2093 DECLARE_FLAGS(RUNTIME_OS_FLAGS)
< prev index next >