< prev index next >

src/hotspot/share/runtime/globals.hpp

Print this page

 796   product(bool, UseFastJNIAccessors, true,                                  \
 797           "Use optimized versions of Get<Primitive>Field")                  \
 798                                                                             \
 799   product(intx, MaxJNILocalCapacity, 65536,                                 \
 800           "Maximum allowable local JNI handle capacity to "                 \
 801           "EnsureLocalCapacity() and PushLocalFrame(), "                    \
 802           "where <= 0 is unlimited, default: 65536")                        \
 803           range(min_intx, max_intx)                                         \
 804                                                                             \
 805   product(bool, EagerXrunInit, false,                                       \
 806           "Eagerly initialize -Xrun libraries; allows startup profiling, "  \
 807           "but not all -Xrun libraries may support the state of the VM "    \
 808           "at this time")                                                   \
 809                                                                             \
 810   develop(uintx, PreallocatedOutOfMemoryErrorCount, 4,                      \
 811           "Number of OutOfMemoryErrors preallocated with backtrace")        \
 812                                                                             \
 813   product(bool, UseXMMForArrayCopy, false,                                  \
 814           "Use SSE2 MOVQ instruction for Arraycopy")                        \
 815                                                                             \
 816   develop(bool, PrintFieldLayout, false,                                    \
 817           "Print field layout for each class")                              \
 818                                                                             \



























 819   /* Need to limit the extent of the padding to reasonable size.          */\
 820   /* 8K is well beyond the reasonable HW cache line size, even with       */\
 821   /* aggressive prefetching, while still leaving the room for segregating */\
 822   /* among the distinct pages.                                            */\
 823   product(int, ContendedPaddingWidth, 128,                                  \
 824           "How many bytes to pad the fields/classes marked @Contended with")\
 825           range(0, 8192)                                                    \
 826           constraint(ContendedPaddingWidthConstraintFunc,AfterErgo)         \
 827                                                                             \
 828   product(bool, EnableContended, true,                                      \
 829           "Enable @Contended annotation support")                           \
 830                                                                             \
 831   product(bool, RestrictContended, true,                                    \
 832           "Restrict @Contended to trusted classes")                         \
 833                                                                             \
 834   product(int, DiagnoseSyncOnValueBasedClasses, 0, DIAGNOSTIC,              \
 835              "Detect and take action upon identifying synchronization on "  \
 836              "value based classes. Modes: "                                 \
 837              "0: off; "                                                     \
 838              "1: exit with fatal error; "                                   \

1757           "Create JMX Management Server")                                   \
1758                                                                             \
1759   product(bool, DisableAttachMechanism, false,                              \
1760           "Disable mechanism that allows tools to attach to this VM")       \
1761                                                                             \
1762   product(bool, StartAttachListener, false,                                 \
1763           "Always start Attach Listener at VM startup")                     \
1764                                                                             \
1765   product(bool, EnableDynamicAgentLoading, true,                            \
1766           "Allow tools to load agents with the attach mechanism")           \
1767                                                                             \
1768   product(bool, PrintConcurrentLocks, false, MANAGEABLE,                    \
1769           "Print java.util.concurrent locks in thread dump")                \
1770                                                                             \
1771   product(bool, PrintMethodHandleStubs, false, DIAGNOSTIC,                  \
1772           "Print generated stub code for method handles")                   \
1773                                                                             \
1774   product(bool, VerifyMethodHandles, trueInDebug, DIAGNOSTIC,               \
1775           "perform extra checks when constructing method handles")          \
1776                                                                             \



1777   product(bool, ShowHiddenFrames, false, DIAGNOSTIC,                        \
1778           "show method handle implementation frames (usually hidden)")      \
1779                                                                             \
1780   product(bool, ShowCarrierFrames, false, DIAGNOSTIC,                       \
1781           "show virtual threads' carrier frames in exceptions")             \
1782                                                                             \
1783   product(bool, TrustFinalNonStaticFields, false, EXPERIMENTAL,             \
1784           "trust final non-static declarations for constant folding")       \
1785                                                                             \
1786   product(bool, FoldStableValues, true, DIAGNOSTIC,                         \
1787           "Optimize loads from stable fields (marked w/ @Stable)")          \
1788                                                                             \
1789   product(int, UseBootstrapCallInfo, 1, DIAGNOSTIC,                         \
1790           "0: when resolving InDy or ConDy, force all BSM arguments to be " \
1791           "resolved before the bootstrap method is called; 1: when a BSM "  \
1792           "that may accept a BootstrapCallInfo is detected, use that API "  \
1793           "to pass BSM arguments, which allows the BSM to delay their "     \
1794           "resolution; 2+: stress test the BCI API by calling more BSMs "   \
1795           "via that API, instead of with the eagerly-resolved array.")      \
1796                                                                             \

1928           "On internal errors, include registers in error report.")         \
1929                                                                             \
1930   product(bool, UseSwitchProfiling, true, DIAGNOSTIC,                       \
1931           "leverage profiling for table/lookup switch")                     \
1932                                                                             \
1933   develop(bool, TraceMemoryWriteback, false,                                \
1934           "Trace memory writeback operations")                              \
1935                                                                             \
1936   JFR_ONLY(product(bool, FlightRecorder, false,                             \
1937           "(Deprecated) Enable Flight Recorder"))                           \
1938                                                                             \
1939   JFR_ONLY(product(ccstr, FlightRecorderOptions, nullptr,                   \
1940           "Flight Recorder options"))                                       \
1941                                                                             \
1942   JFR_ONLY(product(ccstr, StartFlightRecording, nullptr,                    \
1943           "Start flight recording with options"))                           \
1944                                                                             \
1945   product(bool, UseFastUnorderedTimeStamps, false, EXPERIMENTAL,            \
1946           "Use platform unstable time where supported for timestamps only") \
1947                                                                             \




















1948   product(bool, DeoptimizeNMethodBarriersALot, false, DIAGNOSTIC,           \
1949                 "Make nmethod barriers deoptimise a lot.")                  \
1950                                                                             \
1951   develop(bool, VerifyCrossModifyFence,                                     \
1952           false AARCH64_ONLY(DEBUG_ONLY(||true)),                           \
1953              "Mark all threads after a safepoint, and clear on a modify "   \
1954              "fence. Add cleanliness checks.")                              \
1955                                                                             \
1956   product(bool, UseObjectMonitorTable, false, DIAGNOSTIC,                   \
1957           "With Lightweight Locking mode, use a table to record inflated "  \
1958           "monitors rather than the first word of the object.")             \
1959                                                                             \
1960   product(int, LightweightFastLockingSpins, 13, DIAGNOSTIC,                 \
1961           "Specifies the number of times lightweight fast locking will "    \
1962           "attempt to CAS the markWord before inflating. Between each "     \
1963           "CAS it will spin for exponentially more time, resulting in "     \
1964           "a total number of spins on the order of O(2^value)")             \
1965           range(1, 30)                                                      \
1966                                                                             \
1967   product(uint, TrimNativeHeapInterval, 0,                                  \

 796   product(bool, UseFastJNIAccessors, true,                                  \
 797           "Use optimized versions of Get<Primitive>Field")                  \
 798                                                                             \
 799   product(intx, MaxJNILocalCapacity, 65536,                                 \
 800           "Maximum allowable local JNI handle capacity to "                 \
 801           "EnsureLocalCapacity() and PushLocalFrame(), "                    \
 802           "where <= 0 is unlimited, default: 65536")                        \
 803           range(min_intx, max_intx)                                         \
 804                                                                             \
 805   product(bool, EagerXrunInit, false,                                       \
 806           "Eagerly initialize -Xrun libraries; allows startup profiling, "  \
 807           "but not all -Xrun libraries may support the state of the VM "    \
 808           "at this time")                                                   \
 809                                                                             \
 810   develop(uintx, PreallocatedOutOfMemoryErrorCount, 4,                      \
 811           "Number of OutOfMemoryErrors preallocated with backtrace")        \
 812                                                                             \
 813   product(bool, UseXMMForArrayCopy, false,                                  \
 814           "Use SSE2 MOVQ instruction for Arraycopy")                        \
 815                                                                             \
 816   product(bool, PrintFieldLayout, false, DIAGNOSTIC,                        \
 817           "Print field layout for each class")                              \
 818                                                                             \
 819   product(bool, PrintInlineLayout, false, DIAGNOSTIC,                       \
 820           "Print field layout for each inline type or class with inline fields") \
 821                                                                             \
 822   product(bool, PrintFlatArrayLayout, false, DIAGNOSTIC,                    \
 823           "Print array layout for each inline type array")                  \
 824                                                                             \
 825   product(bool, UseArrayFlattening, true,                                   \
 826           "Allow the VM to flatten arrays")                                 \
 827                                                                             \
 828   product(bool, UseFieldFlattening, true,                                   \
 829           "Allow the VM to flatten value fields")                           \
 830                                                                             \
 831   product(bool, UseNonAtomicValueFlattening, true,                          \
 832           "Allow the JVM to flatten some non-atomic null-free values")      \
 833                                                                             \
 834   product(bool, UseNullableValueFlattening, true,                           \
 835           "Allow the JVM to flatten some nullable values")                  \
 836                                                                             \
 837   product(bool, UseAtomicValueFlattening, true,                             \
 838           "Allow the JVM to flatten some atomic values")                    \
 839                                                                             \
 840   product(intx, FlatArrayElementMaxOops, 4,                                 \
 841           "Max nof embedded object references in an inline type to flatten, <0 no limit")  \
 842                                                                             \
 843   develop(ccstrlist, PrintInlineKlassFields, "",                            \
 844           "Print fields collected by InlineKlass::collect_fields")          \
 845                                                                             \
 846   /* Need to limit the extent of the padding to reasonable size.          */\
 847   /* 8K is well beyond the reasonable HW cache line size, even with       */\
 848   /* aggressive prefetching, while still leaving the room for segregating */\
 849   /* among the distinct pages.                                            */\
 850   product(int, ContendedPaddingWidth, 128,                                  \
 851           "How many bytes to pad the fields/classes marked @Contended with")\
 852           range(0, 8192)                                                    \
 853           constraint(ContendedPaddingWidthConstraintFunc,AfterErgo)         \
 854                                                                             \
 855   product(bool, EnableContended, true,                                      \
 856           "Enable @Contended annotation support")                           \
 857                                                                             \
 858   product(bool, RestrictContended, true,                                    \
 859           "Restrict @Contended to trusted classes")                         \
 860                                                                             \
 861   product(int, DiagnoseSyncOnValueBasedClasses, 0, DIAGNOSTIC,              \
 862              "Detect and take action upon identifying synchronization on "  \
 863              "value based classes. Modes: "                                 \
 864              "0: off; "                                                     \
 865              "1: exit with fatal error; "                                   \

1784           "Create JMX Management Server")                                   \
1785                                                                             \
1786   product(bool, DisableAttachMechanism, false,                              \
1787           "Disable mechanism that allows tools to attach to this VM")       \
1788                                                                             \
1789   product(bool, StartAttachListener, false,                                 \
1790           "Always start Attach Listener at VM startup")                     \
1791                                                                             \
1792   product(bool, EnableDynamicAgentLoading, true,                            \
1793           "Allow tools to load agents with the attach mechanism")           \
1794                                                                             \
1795   product(bool, PrintConcurrentLocks, false, MANAGEABLE,                    \
1796           "Print java.util.concurrent locks in thread dump")                \
1797                                                                             \
1798   product(bool, PrintMethodHandleStubs, false, DIAGNOSTIC,                  \
1799           "Print generated stub code for method handles")                   \
1800                                                                             \
1801   product(bool, VerifyMethodHandles, trueInDebug, DIAGNOSTIC,               \
1802           "perform extra checks when constructing method handles")          \
1803                                                                             \
1804   product(bool, IgnoreAssertUnsetFields, false, DIAGNOSTIC,                           \
1805           "Ignore assert_unset_fields")                                     \
1806                                                                             \
1807   product(bool, ShowHiddenFrames, false, DIAGNOSTIC,                        \
1808           "show method handle implementation frames (usually hidden)")      \
1809                                                                             \
1810   product(bool, ShowCarrierFrames, false, DIAGNOSTIC,                       \
1811           "show virtual threads' carrier frames in exceptions")             \
1812                                                                             \
1813   product(bool, TrustFinalNonStaticFields, false, EXPERIMENTAL,             \
1814           "trust final non-static declarations for constant folding")       \
1815                                                                             \
1816   product(bool, FoldStableValues, true, DIAGNOSTIC,                         \
1817           "Optimize loads from stable fields (marked w/ @Stable)")          \
1818                                                                             \
1819   product(int, UseBootstrapCallInfo, 1, DIAGNOSTIC,                         \
1820           "0: when resolving InDy or ConDy, force all BSM arguments to be " \
1821           "resolved before the bootstrap method is called; 1: when a BSM "  \
1822           "that may accept a BootstrapCallInfo is detected, use that API "  \
1823           "to pass BSM arguments, which allows the BSM to delay their "     \
1824           "resolution; 2+: stress test the BCI API by calling more BSMs "   \
1825           "via that API, instead of with the eagerly-resolved array.")      \
1826                                                                             \

1958           "On internal errors, include registers in error report.")         \
1959                                                                             \
1960   product(bool, UseSwitchProfiling, true, DIAGNOSTIC,                       \
1961           "leverage profiling for table/lookup switch")                     \
1962                                                                             \
1963   develop(bool, TraceMemoryWriteback, false,                                \
1964           "Trace memory writeback operations")                              \
1965                                                                             \
1966   JFR_ONLY(product(bool, FlightRecorder, false,                             \
1967           "(Deprecated) Enable Flight Recorder"))                           \
1968                                                                             \
1969   JFR_ONLY(product(ccstr, FlightRecorderOptions, nullptr,                   \
1970           "Flight Recorder options"))                                       \
1971                                                                             \
1972   JFR_ONLY(product(ccstr, StartFlightRecording, nullptr,                    \
1973           "Start flight recording with options"))                           \
1974                                                                             \
1975   product(bool, UseFastUnorderedTimeStamps, false, EXPERIMENTAL,            \
1976           "Use platform unstable time where supported for timestamps only") \
1977                                                                             \
1978   product(bool, EnableValhalla, true,                                       \
1979           "Enable experimental Valhalla features")                          \
1980                                                                             \
1981   product_pd(bool, InlineTypePassFieldsAsArgs,                              \
1982           "Pass each inline type field as an argument at calls")            \
1983                                                                             \
1984   product_pd(bool, InlineTypeReturnedAsFields,                              \
1985           "Return fields instead of an inline type reference")              \
1986                                                                             \
1987   develop(bool, StressCallingConvention, false,                             \
1988           "Stress the scalarized calling convention.")                      \
1989                                                                             \
1990   develop(bool, PreloadClasses, true,                                       \
1991           "Preloading all classes from the LoadableDescriptors attribute")  \
1992                                                                             \
1993   product(ccstrlist, ForceNonTearable, "", DIAGNOSTIC,                      \
1994           "List of inline classes which are forced to be atomic "           \
1995           "(whitespace and commas separate names, "                         \
1996           "and leading and trailing stars '*' are wildcards)")              \
1997                                                                             \
1998   product(bool, DeoptimizeNMethodBarriersALot, false, DIAGNOSTIC,           \
1999                 "Make nmethod barriers deoptimise a lot.")                  \
2000                                                                             \
2001   develop(bool, VerifyCrossModifyFence,                                     \
2002           false AARCH64_ONLY(DEBUG_ONLY(||true)),                           \
2003              "Mark all threads after a safepoint, and clear on a modify "   \
2004              "fence. Add cleanliness checks.")                              \
2005                                                                             \
2006   product(bool, UseObjectMonitorTable, false, DIAGNOSTIC,                   \
2007           "With Lightweight Locking mode, use a table to record inflated "  \
2008           "monitors rather than the first word of the object.")             \
2009                                                                             \
2010   product(int, LightweightFastLockingSpins, 13, DIAGNOSTIC,                 \
2011           "Specifies the number of times lightweight fast locking will "    \
2012           "attempt to CAS the markWord before inflating. Between each "     \
2013           "CAS it will spin for exponentially more time, resulting in "     \
2014           "a total number of spins on the order of O(2^value)")             \
2015           range(1, 30)                                                      \
2016                                                                             \
2017   product(uint, TrimNativeHeapInterval, 0,                                  \
< prev index next >