< prev index next >

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

Print this page
rev 8362 : [mq]: hotspot


   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  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_IMPLEMENTATION_G1_G1_GLOBALS_HPP
  26 #define SHARE_VM_GC_IMPLEMENTATION_G1_G1_GLOBALS_HPP
  27 
  28 #include "runtime/globals.hpp"
  29 //
  30 // Defines all globals flags used by the garbage-first compiler.
  31 //
  32 
  33 #define G1_FLAGS(develop, develop_pd, product, product_pd, diagnostic, experimental, notproduct, manageable, product_rw) \
  34                                                                             \
  35   product(uintx, G1ConfidencePercent, 50,                                   \
  36           "Confidence level for MMU/pause predictions")                     \
  37                                                                             \
  38   develop(intx, G1MarkingOverheadPercent, 0,                                \
  39           "Overhead of concurrent marking")                                 \
  40                                                                             \
  41   develop(intx, G1MarkingVerboseLevel, 0,                                   \
  42           "Level (0-4) of verboseness of the marking code")                 \
  43                                                                             \
  44   develop(bool, G1TraceMarkStackOverflow, false,                            \
  45           "If true, extra debugging code for CM restart for ovflw.")        \
  46                                                                             \


 299   develop(bool, G1EvacuationFailureALotDuringYoungGC, true,                 \
 300           "Force use of evacuation failure handling during young "          \
 301           "evacuation pauses")                                              \
 302                                                                             \
 303   develop(bool, G1EvacuationFailureALotDuringMixedGC, true,                 \
 304           "Force use of evacuation failure handling during mixed "          \
 305           "evacuation pauses")                                              \
 306                                                                             \
 307   diagnostic(bool, G1VerifyRSetsDuringFullGC, false,                        \
 308           "If true, perform verification of each heap region's "            \
 309           "remembered set when verifying the heap during a full GC.")       \
 310                                                                             \
 311   diagnostic(bool, G1VerifyHeapRegionCodeRoots, false,                      \
 312           "Verify the code root lists attached to each heap region.")       \
 313                                                                             \
 314   develop(bool, G1VerifyBitmaps, false,                                     \
 315           "Verifies the consistency of the marking bitmaps")
 316 
 317 G1_FLAGS(DECLARE_DEVELOPER_FLAG, DECLARE_PD_DEVELOPER_FLAG, DECLARE_PRODUCT_FLAG, DECLARE_PD_PRODUCT_FLAG, DECLARE_DIAGNOSTIC_FLAG, DECLARE_EXPERIMENTAL_FLAG, DECLARE_NOTPRODUCT_FLAG, DECLARE_MANAGEABLE_FLAG, DECLARE_PRODUCT_RW_FLAG)
 318 
 319 #endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1_GLOBALS_HPP


   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  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 //
  30 // Defines all globals flags used by the garbage-first compiler.
  31 //
  32 
  33 #define G1_FLAGS(develop, develop_pd, product, product_pd, diagnostic, experimental, notproduct, manageable, product_rw) \
  34                                                                             \
  35   product(uintx, G1ConfidencePercent, 50,                                   \
  36           "Confidence level for MMU/pause predictions")                     \
  37                                                                             \
  38   develop(intx, G1MarkingOverheadPercent, 0,                                \
  39           "Overhead of concurrent marking")                                 \
  40                                                                             \
  41   develop(intx, G1MarkingVerboseLevel, 0,                                   \
  42           "Level (0-4) of verboseness of the marking code")                 \
  43                                                                             \
  44   develop(bool, G1TraceMarkStackOverflow, false,                            \
  45           "If true, extra debugging code for CM restart for ovflw.")        \
  46                                                                             \


 299   develop(bool, G1EvacuationFailureALotDuringYoungGC, true,                 \
 300           "Force use of evacuation failure handling during young "          \
 301           "evacuation pauses")                                              \
 302                                                                             \
 303   develop(bool, G1EvacuationFailureALotDuringMixedGC, true,                 \
 304           "Force use of evacuation failure handling during mixed "          \
 305           "evacuation pauses")                                              \
 306                                                                             \
 307   diagnostic(bool, G1VerifyRSetsDuringFullGC, false,                        \
 308           "If true, perform verification of each heap region's "            \
 309           "remembered set when verifying the heap during a full GC.")       \
 310                                                                             \
 311   diagnostic(bool, G1VerifyHeapRegionCodeRoots, false,                      \
 312           "Verify the code root lists attached to each heap region.")       \
 313                                                                             \
 314   develop(bool, G1VerifyBitmaps, false,                                     \
 315           "Verifies the consistency of the marking bitmaps")
 316 
 317 G1_FLAGS(DECLARE_DEVELOPER_FLAG, DECLARE_PD_DEVELOPER_FLAG, DECLARE_PRODUCT_FLAG, DECLARE_PD_PRODUCT_FLAG, DECLARE_DIAGNOSTIC_FLAG, DECLARE_EXPERIMENTAL_FLAG, DECLARE_NOTPRODUCT_FLAG, DECLARE_MANAGEABLE_FLAG, DECLARE_PRODUCT_RW_FLAG)
 318 
 319 #endif // SHARE_VM_GC_G1_G1_GLOBALS_HPP
< prev index next >