< prev index next >

src/share/vm/gc/g1/g1_globals.hpp

Print this page
rev 9488 : [mq]: 8136680-enable-adaptive-ihop-by-default


  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #ifndef SHARE_VM_GC_G1_G1_GLOBALS_HPP
  26 #define SHARE_VM_GC_G1_G1_GLOBALS_HPP
  27 
  28 #include "runtime/globals.hpp"
  29 #include <float.h> // for DBL_MAX
  30 //
  31 // Defines all globals flags used by the garbage-first compiler.
  32 //
  33 
  34 #define G1_FLAGS(develop, develop_pd, product, product_pd, diagnostic, experimental, notproduct, manageable, product_rw, range, constraint) \
  35                                                                             \
  36   product(bool, G1UseAdaptiveIHOP, false,                                   \
  37           "Adaptively adjust InitiatingHeapOccupancyPercent from the "      \
  38           "initial value.")                                                 \


  39                                                                             \
  40   experimental(size_t, G1AdaptiveIHOPNumInitialSamples, 3,                  \
  41           "How many completed time periods from initial mark to first "     \
  42           "mixed gc are required to use the input values for prediction "   \
  43           "of the optimal occupancy to start marking.")                     \
  44           range(1, max_intx)                                                \
  45                                                                             \
  46   product(uintx, G1ConfidencePercent, 50,                                   \
  47           "Confidence level for MMU/pause predictions")                     \
  48           range(0, 100)                                                     \
  49                                                                             \
  50   develop(intx, G1MarkingOverheadPercent, 0,                                \
  51           "Overhead of concurrent marking")                                 \
  52           range(0, 100)                                                     \
  53                                                                             \
  54   develop(intx, G1MarkingVerboseLevel, 0,                                   \
  55           "Level (0-4) of verboseness of the marking code")                 \
  56           range(0, 4)                                                       \
  57                                                                             \
  58   develop(bool, G1TraceMarkStackOverflow, false,                            \




  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #ifndef SHARE_VM_GC_G1_G1_GLOBALS_HPP
  26 #define SHARE_VM_GC_G1_G1_GLOBALS_HPP
  27 
  28 #include "runtime/globals.hpp"
  29 #include <float.h> // for DBL_MAX
  30 //
  31 // Defines all globals flags used by the garbage-first compiler.
  32 //
  33 
  34 #define G1_FLAGS(develop, develop_pd, product, product_pd, diagnostic, experimental, notproduct, manageable, product_rw, range, constraint) \
  35                                                                             \
  36   product(bool, G1UseAdaptiveIHOP, true,                                    \
  37           "Adaptively adjust the initiating heap occupancy from the "       \
  38           "initial value of InitiatingHeapOccupancyPercent. The policy "    \
  39           "attempts to start marking in time based on application "         \
  40           "behavior.")                                                      \
  41                                                                             \
  42   experimental(size_t, G1AdaptiveIHOPNumInitialSamples, 3,                  \
  43           "How many completed time periods from initial mark to first "     \
  44           "mixed gc are required to use the input values for prediction "   \
  45           "of the optimal occupancy to start marking.")                     \
  46           range(1, max_intx)                                                \
  47                                                                             \
  48   product(uintx, G1ConfidencePercent, 50,                                   \
  49           "Confidence level for MMU/pause predictions")                     \
  50           range(0, 100)                                                     \
  51                                                                             \
  52   develop(intx, G1MarkingOverheadPercent, 0,                                \
  53           "Overhead of concurrent marking")                                 \
  54           range(0, 100)                                                     \
  55                                                                             \
  56   develop(intx, G1MarkingVerboseLevel, 0,                                   \
  57           "Level (0-4) of verboseness of the marking code")                 \
  58           range(0, 4)                                                       \
  59                                                                             \
  60   develop(bool, G1TraceMarkStackOverflow, false,                            \


< prev index next >