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

Print this page




   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 //
  26 // Defines all globals flags used by the garbage-first compiler.
  27 //
  28 
  29 #define G1_FLAGS(develop, develop_pd, product, product_pd, diagnostic, experimental, notproduct, manageable, product_rw) \
  30                                                                             \
  31   product(intx, G1ConfidencePercent, 50,                                    \
  32           "Confidence level for MMU/pause predictions")                     \
  33                                                                             \
  34   develop(intx, G1MarkingOverheadPercent, 0,                                \
  35           "Overhead of concurrent marking")                                 \
  36                                                                             \
  37   develop(bool, G1Gen, true,                                                \
  38           "If true, it will enable the generational G1")                    \
  39                                                                             \
  40   develop(intx, G1PolicyVerbose, 0,                                         \
  41           "The verbosity level on G1 policy decisions")                     \
  42                                                                             \
  43   develop(bool, G1UseHRIntoRS, true,                                        \
  44           "Determines whether the 'advanced' HR Into rem set is used.")     \


 268   product(uintx, G1ConcRefinementThreads, 0,                                \
 269           "If non-0 is the number of parallel rem set update threads, "     \
 270           "otherwise the value is determined ergonomically.")               \
 271                                                                             \
 272   develop(intx, G1CardCountCacheExpandThreshold, 16,                        \
 273           "Expand the card count cache if the number of collisions for "    \
 274           "a particular entry exceeds this value.")                         \
 275                                                                             \
 276   develop(bool, G1VerifyCTCleanup, false,                                   \
 277           "Verify card table cleanup.")                                     \
 278                                                                             \
 279   product(uintx, G1RSetScanBlockSize, 64,                                   \
 280           "Size of a work unit of cards claimed by a worker thread"         \
 281           "during RSet scanning.")                                          \
 282                                                                             \
 283   develop(bool, ReduceInitialCardMarksForG1, false,                         \
 284           "When ReduceInitialCardMarks is true, this flag setting "         \
 285           " controls whether G1 allows the RICM optimization")
 286 
 287 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)




   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 //
  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) \
  35                                                                             \
  36   product(intx, G1ConfidencePercent, 50,                                    \
  37           "Confidence level for MMU/pause predictions")                     \
  38                                                                             \
  39   develop(intx, G1MarkingOverheadPercent, 0,                                \
  40           "Overhead of concurrent marking")                                 \
  41                                                                             \
  42   develop(bool, G1Gen, true,                                                \
  43           "If true, it will enable the generational G1")                    \
  44                                                                             \
  45   develop(intx, G1PolicyVerbose, 0,                                         \
  46           "The verbosity level on G1 policy decisions")                     \
  47                                                                             \
  48   develop(bool, G1UseHRIntoRS, true,                                        \
  49           "Determines whether the 'advanced' HR Into rem set is used.")     \


 273   product(uintx, G1ConcRefinementThreads, 0,                                \
 274           "If non-0 is the number of parallel rem set update threads, "     \
 275           "otherwise the value is determined ergonomically.")               \
 276                                                                             \
 277   develop(intx, G1CardCountCacheExpandThreshold, 16,                        \
 278           "Expand the card count cache if the number of collisions for "    \
 279           "a particular entry exceeds this value.")                         \
 280                                                                             \
 281   develop(bool, G1VerifyCTCleanup, false,                                   \
 282           "Verify card table cleanup.")                                     \
 283                                                                             \
 284   product(uintx, G1RSetScanBlockSize, 64,                                   \
 285           "Size of a work unit of cards claimed by a worker thread"         \
 286           "during RSet scanning.")                                          \
 287                                                                             \
 288   develop(bool, ReduceInitialCardMarksForG1, false,                         \
 289           "When ReduceInitialCardMarks is true, this flag setting "         \
 290           " controls whether G1 allows the RICM optimization")
 291 
 292 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)
 293 
 294 #endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1_GLOBALS_HPP