< prev index next >

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

Print this page

*** 22,83 **** */ #ifndef SHARE_GC_Z_Z_GLOBALS_HPP #define SHARE_GC_Z_Z_GLOBALS_HPP ! #define GC_Z_FLAGS(develop, \ ! develop_pd, \ ! product, \ ! product_pd, \ ! diagnostic, \ ! diagnostic_pd, \ ! experimental, \ ! notproduct, \ ! manageable, \ ! product_rw, \ ! lp64_product, \ ! range, \ ! constraint) \ ! \ ! product(double, ZAllocationSpikeTolerance, 2.0, \ ! "Allocation spike tolerance factor") \ ! \ ! product(double, ZFragmentationLimit, 25.0, \ ! "Maximum allowed heap fragmentation") \ ! \ ! product(size_t, ZMarkStackSpaceLimit, 8*G, \ ! "Maximum number of bytes allocated for mark stacks") \ ! range(32*M, 1024*G) \ ! \ ! product(uint, ZCollectionInterval, 0, \ ! "Force GC at a fixed time interval (in seconds)") \ ! \ ! product(bool, ZProactive, true, \ ! "Enable proactive GC cycles") \ ! \ ! product(bool, ZUncommit, true, \ ! "Uncommit unused memory") \ ! \ ! product(uintx, ZUncommitDelay, 5 * 60, \ ! "Uncommit memory if it has been unused for the specified " \ ! "amount of time (in seconds)") \ ! \ ! diagnostic(uint, ZStatisticsInterval, 10, \ ! "Time between statistics print outs (in seconds)") \ ! range(1, (uint)-1) \ ! \ ! diagnostic(bool, ZVerifyViews, false, \ ! "Verify heap view accesses") \ ! \ ! diagnostic(bool, ZVerifyRoots, trueInDebug, \ ! "Verify roots") \ ! \ ! diagnostic(bool, ZVerifyObjects, false, \ ! "Verify objects") \ ! \ ! diagnostic(bool, ZVerifyMarking, trueInDebug, \ ! "Verify marking stacks") \ ! \ ! diagnostic(bool, ZVerifyForwarding, false, \ ! "Verify forwarding tables") #endif // SHARE_GC_Z_Z_GLOBALS_HPP --- 22,73 ---- */ #ifndef SHARE_GC_Z_Z_GLOBALS_HPP #define SHARE_GC_Z_Z_GLOBALS_HPP ! #include "utilities/macros.hpp" ! #if INCLUDE_ZGC ! #include "runtime/flags/jvmFlag.hpp" ! PRODUCT_FLAG(double, ZAllocationSpikeTolerance, 2.0, JVMFlag::DEFAULT, ! "Allocation spike tolerance factor"); ! ! PRODUCT_FLAG(double, ZFragmentationLimit, 25.0, JVMFlag::DEFAULT, ! "Maximum allowed heap fragmentation"); ! ! PRODUCT_FLAG(size_t, ZMarkStackSpaceLimit, 8*G, JVMFlag::RANGE, ! "Maximum number of bytes allocated for mark stacks"); ! FLAG_RANGE( ZMarkStackSpaceLimit, 32*M, 1024*G); ! ! PRODUCT_FLAG(uint, ZCollectionInterval, 0, JVMFlag::DEFAULT, ! "Force GC at a fixed time interval (in seconds)"); ! ! PRODUCT_FLAG(bool, ZProactive, true, JVMFlag::DEFAULT, ! "Enable proactive GC cycles"); ! ! PRODUCT_FLAG(bool, ZUncommit, true, JVMFlag::DEFAULT, ! "Uncommit unused memory"); ! ! PRODUCT_FLAG(uintx, ZUncommitDelay, 5 * 60, JVMFlag::DEFAULT, ! "Uncommit memory if it has been unused for the specified " ! "amount of time (in seconds)"); ! ! PRODUCT_FLAG(uint, ZStatisticsInterval, 10, JVMFlag::DIAGNOSTIC | JVMFlag::RANGE, ! "Time between statistics print outs (in seconds)"); ! FLAG_RANGE( ZStatisticsInterval, 1, (uint)-1); ! ! PRODUCT_FLAG(bool, ZVerifyViews, false, JVMFlag::DIAGNOSTIC, ! "Verify heap view accesses"); ! ! PRODUCT_FLAG(bool, ZVerifyRoots, trueInDebug, JVMFlag::DIAGNOSTIC, ! "Verify roots"); ! ! PRODUCT_FLAG(bool, ZVerifyObjects, false, JVMFlag::DIAGNOSTIC, ! "Verify objects"); ! ! PRODUCT_FLAG(bool, ZVerifyMarking, trueInDebug, JVMFlag::DIAGNOSTIC, ! "Verify marking stacks"); ! ! PRODUCT_FLAG(bool, ZVerifyForwarding, false, JVMFlag::DIAGNOSTIC, ! "Verify forwarding tables"); ! #endif // INCLUDE_ZGC #endif // SHARE_GC_Z_Z_GLOBALS_HPP
< prev index next >