< prev index next >

src/hotspot/share/runtime/globals.hpp

Print this page

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


















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

1998           "On internal errors, include registers in error report.")         \
1999                                                                             \
2000   product(bool, UseSwitchProfiling, true, DIAGNOSTIC,                       \
2001           "leverage profiling for table/lookup switch")                     \
2002                                                                             \
2003   develop(bool, TraceMemoryWriteback, false,                                \
2004           "Trace memory writeback operations")                              \
2005                                                                             \
2006   JFR_ONLY(product(bool, FlightRecorder, false,                             \
2007           "(Deprecated) Enable Flight Recorder"))                           \
2008                                                                             \
2009   JFR_ONLY(product(ccstr, FlightRecorderOptions, NULL,                      \
2010           "Flight Recorder options"))                                       \
2011                                                                             \
2012   JFR_ONLY(product(ccstr, StartFlightRecording, NULL,                       \
2013           "Start flight recording with options"))                           \
2014                                                                             \
2015   product(bool, UseFastUnorderedTimeStamps, false, EXPERIMENTAL,            \
2016           "Use platform unstable time where supported for timestamps only") \
2017                                                                             \




















2018   product(bool, UseEmptySlotsInSupers, true,                                \
2019                 "Allow allocating fields in empty slots of super-classes")  \
2020                                                                             \
2021   product(bool, DeoptimizeNMethodBarriersALot, false, DIAGNOSTIC,           \
2022                 "Make nmethod barriers deoptimise a lot.")                  \
2023                                                                             \
2024   develop(bool, VerifyCrossModifyFence,                                     \
2025           false AARCH64_ONLY(DEBUG_ONLY(||true)),                           \
2026              "Mark all threads after a safepoint, and clear on a modify "   \
2027              "fence. Add cleanliness checks.")                              \
2028                                                                             \
2029   develop(bool, TraceOptimizedUpcallStubs, false,                              \
2030                 "Trace optimized upcall stub generation")                      \
2031 
2032 // end of RUNTIME_FLAGS
2033 
2034 DECLARE_FLAGS(LP64_RUNTIME_FLAGS)
2035 DECLARE_ARCH_FLAGS(ARCH_FLAGS)
2036 DECLARE_FLAGS(RUNTIME_FLAGS)
2037 DECLARE_FLAGS(RUNTIME_OS_FLAGS)

 756           range(min_intx, max_intx)                                         \
 757                                                                             \
 758   product(bool, EagerXrunInit, false,                                       \
 759           "Eagerly initialize -Xrun libraries; allows startup profiling, "  \
 760           "but not all -Xrun libraries may support the state of the VM "    \
 761           "at this time")                                                   \
 762                                                                             \
 763   product(bool, PreserveAllAnnotations, false,                              \
 764           "Preserve RuntimeInvisibleAnnotations as well "                   \
 765           "as RuntimeVisibleAnnotations")                                   \
 766                                                                             \
 767   develop(uintx, PreallocatedOutOfMemoryErrorCount, 4,                      \
 768           "Number of OutOfMemoryErrors preallocated with backtrace")        \
 769                                                                             \
 770   product(bool, UseXMMForArrayCopy, false,                                  \
 771           "Use SSE2 MOVQ instruction for Arraycopy")                        \
 772                                                                             \
 773   notproduct(bool, PrintFieldLayout, false,                                 \
 774           "Print field layout for each class")                              \
 775                                                                             \
 776   notproduct(bool, PrintInlineLayout, false,                                \
 777           "Print field layout for each inline type")                        \
 778                                                                             \
 779   notproduct(bool, PrintFlatArrayLayout, false,                             \
 780           "Print array layout for each inline type array")                  \
 781                                                                             \
 782   product(intx, FlatArrayElementMaxSize, -1,                                \
 783           "Max size for flattening inline array elements, <0 no limit")     \
 784                                                                             \
 785   product(intx, InlineFieldMaxFlatSize, 128,                                \
 786           "Max size for flattening inline type fields, <0 no limit")        \
 787                                                                             \
 788   product(intx, FlatArrayElementMaxOops, 4,                                 \
 789           "Max nof embedded object references in an inline type to flatten, <0 no limit")  \
 790                                                                             \
 791   product(bool, InlineArrayAtomicAccess, false,                             \
 792           "Atomic inline array accesses by-default, for all inline arrays") \
 793                                                                             \
 794   /* Need to limit the extent of the padding to reasonable size.          */\
 795   /* 8K is well beyond the reasonable HW cache line size, even with       */\
 796   /* aggressive prefetching, while still leaving the room for segregating */\
 797   /* among the distinct pages.                                            */\
 798   product(intx, ContendedPaddingWidth, 128,                                 \
 799           "How many bytes to pad the fields/classes marked @Contended with")\
 800           range(0, 8192)                                                    \
 801           constraint(ContendedPaddingWidthConstraintFunc,AfterErgo)         \
 802                                                                             \
 803   product(bool, EnableContended, true,                                      \
 804           "Enable @Contended annotation support")                           \
 805                                                                             \
 806   product(bool, RestrictContended, true,                                    \
 807           "Restrict @Contended to trusted classes")                         \
 808                                                                             \
 809   product(intx, DiagnoseSyncOnValueBasedClasses, 0, DIAGNOSTIC,             \
 810              "Detect and take action upon identifying synchronization on "  \
 811              "value based classes. Modes: "                                 \
 812              "0: off; "                                                     \
 813              "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, EnableValhalla, true,                                       \
2037           "Enable experimental Valhalla features")                          \
2038                                                                             \
2039   product_pd(bool, InlineTypePassFieldsAsArgs,                              \
2040           "Pass each inline type field as an argument at calls")            \
2041                                                                             \
2042   product_pd(bool, InlineTypeReturnedAsFields,                              \
2043           "Return fields instead of an inline type reference")              \
2044                                                                             \
2045   develop(bool, StressInlineTypeReturnedAsFields, false,                    \
2046           "Stress return of fields instead of an inline type reference")    \
2047                                                                             \
2048   product(bool, UseArrayMarkWordCheck, NOT_LP64(false) LP64_ONLY(true),     \
2049           "Use bits in the mark word to check for flat/null-free arrays")   \
2050                                                                             \
2051   product(ccstrlist, ForceNonTearable, "", DIAGNOSTIC,                      \
2052           "List of inline classes which are forced to be atomic "           \
2053           "(whitespace and commas separate names, "                         \
2054           "and leading and trailing stars '*' are wildcards)")              \
2055                                                                             \
2056   product(bool, UseEmptySlotsInSupers, true,                                \
2057                 "Allow allocating fields in empty slots of super-classes")  \
2058                                                                             \
2059   product(bool, DeoptimizeNMethodBarriersALot, false, DIAGNOSTIC,           \
2060                 "Make nmethod barriers deoptimise a lot.")                  \
2061                                                                             \
2062   develop(bool, VerifyCrossModifyFence,                                     \
2063           false AARCH64_ONLY(DEBUG_ONLY(||true)),                           \
2064              "Mark all threads after a safepoint, and clear on a modify "   \
2065              "fence. Add cleanliness checks.")                              \
2066                                                                             \
2067   develop(bool, TraceOptimizedUpcallStubs, false,                              \
2068                 "Trace optimized upcall stub generation")                      \
2069 
2070 // end of RUNTIME_FLAGS
2071 
2072 DECLARE_FLAGS(LP64_RUNTIME_FLAGS)
2073 DECLARE_ARCH_FLAGS(ARCH_FLAGS)
2074 DECLARE_FLAGS(RUNTIME_FLAGS)
2075 DECLARE_FLAGS(RUNTIME_OS_FLAGS)
< prev index next >