< prev index next >

src/hotspot/share/gc/z/zFlags.hpp

Print this page




  40                 constraint,    \
  41                 writeable)     \
  42                                                                             \
  43   product(bool, UseZGC, false,                                              \
  44           "Use the Z garbage collector")                                    \
  45                                                                             \
  46   product(ccstr, ZPath, NULL,                                               \
  47           "Filesystem path for Java heap backing storage "                  \
  48           "(must be a tmpfs or a hugetlbfs filesystem)")                    \
  49                                                                             \
  50   product(double, ZAllocationSpikeTolerance, 2.0,                           \
  51           "Allocation spike tolerance factor")                              \
  52                                                                             \
  53   product(double, ZFragmentationLimit, 25.0,                                \
  54           "Maximum allowed heap fragmentation")                             \
  55                                                                             \
  56   product(bool, ZStallOnOutOfMemory, true,                                  \
  57           "Allow Java threads to stall and wait for GC to complete "        \
  58           "instead of immediately throwing an OutOfMemoryError")            \
  59                                                                             \




  60   product(uint, ZCollectionInterval, 0,                                     \
  61           "Time between GCs (in seconds)")                                  \
  62                                                                             \
  63   product(uint, ZStatisticsInterval, 10,                                    \
  64           "Time between statistics print outs (in seconds)")                \
  65           range(1, (uint)-1)                                                \
  66                                                                             \
  67   product(bool, ZStatisticsForceTrace, false,                               \
  68           "Force tracing of ZStats")                                        \
  69                                                                             \
  70   product(bool, ZUnmapBadViews, false,                                      \
  71           "Unmap bad address views (for debugging only)")                   \
  72                                                                             \
  73   product(bool, ZVerifyMarking, false,                                      \
  74           "Verify marking stacks (for debugging only)")                     \
  75                                                                             \
  76   product(bool, ZVerifyForwarding, false,                                   \
  77           "Verify forwarding tables (for debugging only)")                  \
  78                                                                             \
  79   product(bool, ZWeakRoots, true,                                           \
  80           "Treat JNI WeakGlobalRefs and StringTable as weak roots "         \
  81           "(for debugging only)")                                           \
  82                                                                             \
  83   product(bool, ZConcurrentJNIWeakGlobalHandles, true,                      \
  84           "Clean JNI WeakGlobalRefs concurrently (for debugging only)")     \
  85                                                                             \
  86   product(size_t, ZMarkStacksMax, NOT_LP64(512*M) LP64_ONLY(8*G),           \
  87           "Maximum number of bytes allocated for marking stacks")           \
  88           range(32*M, NOT_LP64(512*M) LP64_ONLY(1024*G))                    \
  89 
  90 Z_FLAGS(DECLARE_DEVELOPER_FLAG,     \
  91         DECLARE_PD_DEVELOPER_FLAG,  \
  92         DECLARE_PRODUCT_FLAG,       \
  93         DECLARE_PD_PRODUCT_FLAG,    \
  94         DECLARE_DIAGNOSTIC_FLAG,    \
  95         DECLARE_PD_DIAGNOSTIC_FLAG, \
  96         DECLARE_EXPERIMENTAL_FLAG,  \
  97         DECLARE_NOTPRODUCT_FLAG,    \
  98         DECLARE_MANAGEABLE_FLAG,    \
  99         DECLARE_PRODUCT_RW_FLAG,    \
 100         IGNORE_RANGE,               \
 101         IGNORE_CONSTRAINT,          \
 102         IGNORE_WRITEABLE)
 103 
 104 #endif // SHARE_GC_Z_ZFLAGS_HPP


  40                 constraint,    \
  41                 writeable)     \
  42                                                                             \
  43   product(bool, UseZGC, false,                                              \
  44           "Use the Z garbage collector")                                    \
  45                                                                             \
  46   product(ccstr, ZPath, NULL,                                               \
  47           "Filesystem path for Java heap backing storage "                  \
  48           "(must be a tmpfs or a hugetlbfs filesystem)")                    \
  49                                                                             \
  50   product(double, ZAllocationSpikeTolerance, 2.0,                           \
  51           "Allocation spike tolerance factor")                              \
  52                                                                             \
  53   product(double, ZFragmentationLimit, 25.0,                                \
  54           "Maximum allowed heap fragmentation")                             \
  55                                                                             \
  56   product(bool, ZStallOnOutOfMemory, true,                                  \
  57           "Allow Java threads to stall and wait for GC to complete "        \
  58           "instead of immediately throwing an OutOfMemoryError")            \
  59                                                                             \
  60   product(size_t, ZMarkStacksMax, NOT_LP64(512*M) LP64_ONLY(8*G),           \
  61           "Maximum number of bytes allocated for marking stacks")           \
  62           range(32*M, NOT_LP64(512*M) LP64_ONLY(1024*G))                    \
  63                                                                             \
  64   product(uint, ZCollectionInterval, 0,                                     \
  65           "Force GC at a fixed time interval (in seconds)")                 \
  66                                                                             \
  67   product(uint, ZStatisticsInterval, 10,                                    \
  68           "Time between statistics print outs (in seconds)")                \
  69           range(1, (uint)-1)                                                \
  70                                                                             \
  71   diagnostic(bool, ZStatisticsForceTrace, false,                            \
  72           "Force tracing of ZStats")                                        \
  73                                                                             \
  74   diagnostic(bool, ZUnmapBadViews, false,                                   \
  75           "Unmap bad (inactive) heap views")                                \
  76                                                                             \
  77   diagnostic(bool, ZVerifyMarking, false,                                   \
  78           "Verify marking stacks")                                          \
  79                                                                             \
  80   diagnostic(bool, ZVerifyForwarding, false,                                \
  81           "Verify forwarding tables")                                       \
  82                                                                             \
  83   diagnostic(bool, ZWeakRoots, true,                                        \
  84           "Treat JNI WeakGlobalRefs and StringTable as weak roots")         \

  85                                                                             \
  86   diagnostic(bool, ZConcurrentJNIWeakGlobalHandles, true,                   \
  87           "Clean JNI WeakGlobalRefs concurrently")                          \




  88 
  89 Z_FLAGS(DECLARE_DEVELOPER_FLAG,     \
  90         DECLARE_PD_DEVELOPER_FLAG,  \
  91         DECLARE_PRODUCT_FLAG,       \
  92         DECLARE_PD_PRODUCT_FLAG,    \
  93         DECLARE_DIAGNOSTIC_FLAG,    \
  94         DECLARE_PD_DIAGNOSTIC_FLAG, \
  95         DECLARE_EXPERIMENTAL_FLAG,  \
  96         DECLARE_NOTPRODUCT_FLAG,    \
  97         DECLARE_MANAGEABLE_FLAG,    \
  98         DECLARE_PRODUCT_RW_FLAG,    \
  99         IGNORE_RANGE,               \
 100         IGNORE_CONSTRAINT,          \
 101         IGNORE_WRITEABLE)
 102 
 103 #endif // SHARE_GC_Z_ZFLAGS_HPP
< prev index next >