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(intx, G1MarkingVerboseLevel, 0,                                   \
  44           "Level (0-4) of verboseness of the marking code")                 \


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


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