< prev index next >

src/hotspot/share/runtime/globals.hpp

Print this page

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


















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

1959           "On internal errors, include registers in error report.")         \
1960                                                                             \
1961   product(bool, UseSwitchProfiling, true, DIAGNOSTIC,                       \
1962           "leverage profiling for table/lookup switch")                     \
1963                                                                             \
1964   develop(bool, TraceMemoryWriteback, false,                                \
1965           "Trace memory writeback operations")                              \
1966                                                                             \
1967   JFR_ONLY(product(bool, FlightRecorder, false,                             \
1968           "(Deprecated) Enable Flight Recorder"))                           \
1969                                                                             \
1970   JFR_ONLY(product(ccstr, FlightRecorderOptions, NULL,                      \
1971           "Flight Recorder options"))                                       \
1972                                                                             \
1973   JFR_ONLY(product(ccstr, StartFlightRecording, NULL,                       \
1974           "Start flight recording with options"))                           \
1975                                                                             \
1976   product(bool, UseFastUnorderedTimeStamps, false, EXPERIMENTAL,            \
1977           "Use platform unstable time where supported for timestamps only") \
1978                                                                             \




















1979   product(bool, UseEmptySlotsInSupers, true,                                \
1980                 "Allow allocating fields in empty slots of super-classes")  \
1981                                                                             \
1982   product(bool, DeoptimizeNMethodBarriersALot, false, DIAGNOSTIC,           \
1983                 "Make nmethod barriers deoptimise a lot.")                  \
1984                                                                             \
1985   develop(bool, VerifyCrossModifyFence,                                     \
1986           false AARCH64_ONLY(DEBUG_ONLY(||true)),                           \
1987              "Mark all threads after a safepoint, and clear on a modify "   \
1988              "fence. Add cleanliness checks.")                              \
1989                                                                             \
1990   develop(bool, TraceOptimizedUpcallStubs, false,                           \
1991                 "Trace optimized upcall stub generation")                   \
1992 
1993 // end of RUNTIME_FLAGS
1994 
1995 DECLARE_FLAGS(LP64_RUNTIME_FLAGS)
1996 DECLARE_ARCH_FLAGS(ARCH_FLAGS)
1997 DECLARE_FLAGS(RUNTIME_FLAGS)
1998 DECLARE_FLAGS(RUNTIME_OS_FLAGS)

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

1977           "On internal errors, include registers in error report.")         \
1978                                                                             \
1979   product(bool, UseSwitchProfiling, true, DIAGNOSTIC,                       \
1980           "leverage profiling for table/lookup switch")                     \
1981                                                                             \
1982   develop(bool, TraceMemoryWriteback, false,                                \
1983           "Trace memory writeback operations")                              \
1984                                                                             \
1985   JFR_ONLY(product(bool, FlightRecorder, false,                             \
1986           "(Deprecated) Enable Flight Recorder"))                           \
1987                                                                             \
1988   JFR_ONLY(product(ccstr, FlightRecorderOptions, NULL,                      \
1989           "Flight Recorder options"))                                       \
1990                                                                             \
1991   JFR_ONLY(product(ccstr, StartFlightRecording, NULL,                       \
1992           "Start flight recording with options"))                           \
1993                                                                             \
1994   product(bool, UseFastUnorderedTimeStamps, false, EXPERIMENTAL,            \
1995           "Use platform unstable time where supported for timestamps only") \
1996                                                                             \
1997   product(bool, EnableValhalla, true,                                       \
1998           "Enable experimental Valhalla features")                          \
1999                                                                             \
2000   product_pd(bool, InlineTypePassFieldsAsArgs,                              \
2001           "Pass each inline type field as an argument at calls")            \
2002                                                                             \
2003   product_pd(bool, InlineTypeReturnedAsFields,                              \
2004           "Return fields instead of an inline type reference")              \
2005                                                                             \
2006   develop(bool, StressInlineTypeReturnedAsFields, false,                    \
2007           "Stress return of fields instead of an inline type reference")    \
2008                                                                             \
2009   product(bool, UseArrayMarkWordCheck, NOT_LP64(false) LP64_ONLY(true),     \
2010           "Use bits in the mark word to check for flat/null-free arrays")   \
2011                                                                             \
2012   product(ccstrlist, ForceNonTearable, "", DIAGNOSTIC,                      \
2013           "List of inline classes which are forced to be atomic "           \
2014           "(whitespace and commas separate names, "                         \
2015           "and leading and trailing stars '*' are wildcards)")              \
2016                                                                             \
2017   product(bool, UseEmptySlotsInSupers, true,                                \
2018                 "Allow allocating fields in empty slots of super-classes")  \
2019                                                                             \
2020   product(bool, DeoptimizeNMethodBarriersALot, false, DIAGNOSTIC,           \
2021                 "Make nmethod barriers deoptimise a lot.")                  \
2022                                                                             \
2023   develop(bool, VerifyCrossModifyFence,                                     \
2024           false AARCH64_ONLY(DEBUG_ONLY(||true)),                           \
2025              "Mark all threads after a safepoint, and clear on a modify "   \
2026              "fence. Add cleanliness checks.")                              \
2027                                                                             \
2028   develop(bool, TraceOptimizedUpcallStubs, false,                           \
2029                 "Trace optimized upcall stub generation")                   \
2030 
2031 // end of RUNTIME_FLAGS
2032 
2033 DECLARE_FLAGS(LP64_RUNTIME_FLAGS)
2034 DECLARE_ARCH_FLAGS(ARCH_FLAGS)
2035 DECLARE_FLAGS(RUNTIME_FLAGS)
2036 DECLARE_FLAGS(RUNTIME_OS_FLAGS)
< prev index next >