< prev index next >

src/hotspot/share/gc/shenandoah/shenandoah_globals.hpp

Print this page
rev 55538 : 8226757: Shenandoah: Make Traversal a separate mode


  55                                                                             \
  56   experimental(intx, ShenandoahHumongousThreshold, 100,                     \
  57           "How large should the object be to get allocated in humongous "   \
  58           "region, in percents of heap region size. This also caps the "    \
  59           "maximum TLAB size.")                                             \
  60           range(1, 100)                                                     \
  61                                                                             \
  62   experimental(ccstr, ShenandoahGCHeuristics, "adaptive",                   \
  63           "The heuristics to use in Shenandoah GC. Possible values:"        \
  64           " *) adaptive - adapt to maintain the given amount of free heap;" \
  65           " *) static  -  start concurrent GC when static free heap "       \
  66           "               threshold and static allocation threshold are "   \
  67           "               tripped;"                                         \
  68           " *) passive -  do not start concurrent GC, wait for Full GC; "   \
  69           " *) aggressive - run concurrent GC continuously, evacuate "      \
  70           "               everything;"                                      \
  71           " *) compact - run GC with lower footprint target, may end up "   \
  72           "               doing continuous GC, evacuate lots of live "      \
  73           "               objects, uncommit heap aggressively;")            \
  74                                                                             \





  75   experimental(ccstr, ShenandoahUpdateRefsEarly, "adaptive",                \
  76           "Run a separate concurrent reference updating phase after"        \
  77           "concurrent evacuation. Possible values: 'on', 'off', 'adaptive'")\
  78                                                                             \
  79   experimental(uintx, ShenandoahRefProcFrequency, 5,                        \
  80           "How often should (weak, soft, etc) references be processed. "    \
  81           "References get processed at every Nth GC cycle. Set to zero "    \
  82           "to disable reference processing.")                               \
  83                                                                             \
  84   experimental(uintx, ShenandoahUnloadClassesFrequency, 5,                  \
  85           "How often should classes get unloaded. "                         \
  86           "Class unloading is performed at every Nth GC cycle. "            \
  87           "Set to zero to disable class unloading during concurrent GC.")   \
  88                                                                             \
  89   experimental(uintx, ShenandoahGarbageThreshold, 60,                       \
  90           "Sets the percentage of garbage a region need to contain before " \
  91           "it can be marked for collection. Does not apply to all "         \
  92           "heuristics.")                                                    \
  93           range(0,100)                                                      \
  94                                                                             \




  55                                                                             \
  56   experimental(intx, ShenandoahHumongousThreshold, 100,                     \
  57           "How large should the object be to get allocated in humongous "   \
  58           "region, in percents of heap region size. This also caps the "    \
  59           "maximum TLAB size.")                                             \
  60           range(1, 100)                                                     \
  61                                                                             \
  62   experimental(ccstr, ShenandoahGCHeuristics, "adaptive",                   \
  63           "The heuristics to use in Shenandoah GC. Possible values:"        \
  64           " *) adaptive - adapt to maintain the given amount of free heap;" \
  65           " *) static  -  start concurrent GC when static free heap "       \
  66           "               threshold and static allocation threshold are "   \
  67           "               tripped;"                                         \
  68           " *) passive -  do not start concurrent GC, wait for Full GC; "   \
  69           " *) aggressive - run concurrent GC continuously, evacuate "      \
  70           "               everything;"                                      \
  71           " *) compact - run GC with lower footprint target, may end up "   \
  72           "               doing continuous GC, evacuate lots of live "      \
  73           "               objects, uncommit heap aggressively;")            \
  74                                                                             \
  75   experimental(ccstr, ShenandoahGCMode, "normal",                           \
  76           "The GC mode to use in Shenandoah GC. Possible values"            \
  77           " *) normal    - normal GC (mark-evac-update)"                    \
  78           " *) traversal - Traversal GC (single-pass)")                     \
  79                                                                             \
  80   experimental(ccstr, ShenandoahUpdateRefsEarly, "adaptive",                \
  81           "Run a separate concurrent reference updating phase after"        \
  82           "concurrent evacuation. Possible values: 'on', 'off', 'adaptive'")\
  83                                                                             \
  84   experimental(uintx, ShenandoahRefProcFrequency, 5,                        \
  85           "How often should (weak, soft, etc) references be processed. "    \
  86           "References get processed at every Nth GC cycle. Set to zero "    \
  87           "to disable reference processing.")                               \
  88                                                                             \
  89   experimental(uintx, ShenandoahUnloadClassesFrequency, 5,                  \
  90           "How often should classes get unloaded. "                         \
  91           "Class unloading is performed at every Nth GC cycle. "            \
  92           "Set to zero to disable class unloading during concurrent GC.")   \
  93                                                                             \
  94   experimental(uintx, ShenandoahGarbageThreshold, 60,                       \
  95           "Sets the percentage of garbage a region need to contain before " \
  96           "it can be marked for collection. Does not apply to all "         \
  97           "heuristics.")                                                    \
  98           range(0,100)                                                      \
  99                                                                             \


< prev index next >