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

Print this page
rev 11264 : 8150900: Implement diagnostic_pd
Reviewed-by: twisti, gziemski, kevinw


  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, \
  35                  develop_pd, \
  36                  product, \
  37                  product_pd, \
  38                  diagnostic, \

  39                  experimental, \
  40                  notproduct, \
  41                  manageable, \
  42                  product_rw, \
  43                  range, \
  44                  constraint, \
  45                  writeable) \
  46                                                                             \
  47   product(bool, G1UseAdaptiveIHOP, true,                                    \
  48           "Adaptively adjust the initiating heap occupancy from the "       \
  49           "initial value of InitiatingHeapOccupancyPercent. The policy "    \
  50           "attempts to start marking in time based on application "         \
  51           "behavior.")                                                      \
  52                                                                             \
  53   experimental(size_t, G1AdaptiveIHOPNumInitialSamples, 3,                  \
  54           "How many completed time periods from initial mark to first "     \
  55           "mixed gc are required to use the input values for prediction "   \
  56           "of the optimal occupancy to start marking.")                     \
  57           range(1, max_intx)                                                \
  58                                                                             \


 306                                                                             \
 307   develop(bool, G1EvacuationFailureALotDuringMixedGC, true,                 \
 308           "Force use of evacuation failure handling during mixed "          \
 309           "evacuation pauses")                                              \
 310                                                                             \
 311   diagnostic(bool, G1VerifyRSetsDuringFullGC, false,                        \
 312           "If true, perform verification of each heap region's "            \
 313           "remembered set when verifying the heap during a full GC.")       \
 314                                                                             \
 315   diagnostic(bool, G1VerifyHeapRegionCodeRoots, false,                      \
 316           "Verify the code root lists attached to each heap region.")       \
 317                                                                             \
 318   develop(bool, G1VerifyBitmaps, false,                                     \
 319           "Verifies the consistency of the marking bitmaps")
 320 
 321 G1_FLAGS(DECLARE_DEVELOPER_FLAG, \
 322          DECLARE_PD_DEVELOPER_FLAG, \
 323          DECLARE_PRODUCT_FLAG, \
 324          DECLARE_PD_PRODUCT_FLAG, \
 325          DECLARE_DIAGNOSTIC_FLAG, \

 326          DECLARE_EXPERIMENTAL_FLAG, \
 327          DECLARE_NOTPRODUCT_FLAG, \
 328          DECLARE_MANAGEABLE_FLAG, \
 329          DECLARE_PRODUCT_RW_FLAG, \
 330          IGNORE_RANGE, \
 331          IGNORE_CONSTRAINT, \
 332          IGNORE_WRITEABLE)
 333 
 334 #endif // SHARE_VM_GC_G1_G1_GLOBALS_HPP


  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, \
  35                  develop_pd, \
  36                  product, \
  37                  product_pd, \
  38                  diagnostic, \
  39                  diagnostic_pd, \
  40                  experimental, \
  41                  notproduct, \
  42                  manageable, \
  43                  product_rw, \
  44                  range, \
  45                  constraint, \
  46                  writeable) \
  47                                                                             \
  48   product(bool, G1UseAdaptiveIHOP, true,                                    \
  49           "Adaptively adjust the initiating heap occupancy from the "       \
  50           "initial value of InitiatingHeapOccupancyPercent. The policy "    \
  51           "attempts to start marking in time based on application "         \
  52           "behavior.")                                                      \
  53                                                                             \
  54   experimental(size_t, G1AdaptiveIHOPNumInitialSamples, 3,                  \
  55           "How many completed time periods from initial mark to first "     \
  56           "mixed gc are required to use the input values for prediction "   \
  57           "of the optimal occupancy to start marking.")                     \
  58           range(1, max_intx)                                                \
  59                                                                             \


 307                                                                             \
 308   develop(bool, G1EvacuationFailureALotDuringMixedGC, true,                 \
 309           "Force use of evacuation failure handling during mixed "          \
 310           "evacuation pauses")                                              \
 311                                                                             \
 312   diagnostic(bool, G1VerifyRSetsDuringFullGC, false,                        \
 313           "If true, perform verification of each heap region's "            \
 314           "remembered set when verifying the heap during a full GC.")       \
 315                                                                             \
 316   diagnostic(bool, G1VerifyHeapRegionCodeRoots, false,                      \
 317           "Verify the code root lists attached to each heap region.")       \
 318                                                                             \
 319   develop(bool, G1VerifyBitmaps, false,                                     \
 320           "Verifies the consistency of the marking bitmaps")
 321 
 322 G1_FLAGS(DECLARE_DEVELOPER_FLAG, \
 323          DECLARE_PD_DEVELOPER_FLAG, \
 324          DECLARE_PRODUCT_FLAG, \
 325          DECLARE_PD_PRODUCT_FLAG, \
 326          DECLARE_DIAGNOSTIC_FLAG, \
 327          DECLARE_PD_DIAGNOSTIC_FLAG, \
 328          DECLARE_EXPERIMENTAL_FLAG, \
 329          DECLARE_NOTPRODUCT_FLAG, \
 330          DECLARE_MANAGEABLE_FLAG, \
 331          DECLARE_PRODUCT_RW_FLAG, \
 332          IGNORE_RANGE, \
 333          IGNORE_CONSTRAINT, \
 334          IGNORE_WRITEABLE)
 335 
 336 #endif // SHARE_VM_GC_G1_G1_GLOBALS_HPP