< prev index next >

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

Print this page
   1 /*
   2  * Copyright (c) 2001, 2019, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   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  *


  26 #define SHARE_GC_G1_G1_GLOBALS_HPP
  27 
  28 #include "runtime/globals_shared.hpp"
  29 
  30 //
  31 // Defines all globals flags used by the garbage-first compiler.
  32 //
  33 
  34 #define GC_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                     lp64_product,                                           \
  45                     range,                                                  \
  46                     constraint,                                             \
  47                     writeable)                                              \
  48                                                                             \
  49   product(bool, G1UseAdaptiveIHOP, true,                                    \
  50           "Adaptively adjust the initiating heap occupancy from the "       \
  51           "initial value of InitiatingHeapOccupancyPercent. The policy "    \
  52           "attempts to start marking in time based on application "         \
  53           "behavior.")                                                      \
  54                                                                             \
  55   experimental(size_t, G1AdaptiveIHOPNumInitialSamples, 3,                  \
  56           "How many completed time periods from initial mark to first "     \
  57           "mixed gc are required to use the input values for prediction "   \
  58           "of the optimal occupancy to start marking.")                     \
  59           range(1, max_intx)                                                \
  60                                                                             \
  61   product(uintx, G1ConfidencePercent, 50,                                   \
  62           "Confidence level for MMU/pause predictions")                     \
  63           range(0, 100)                                                     \
  64                                                                             \
  65   diagnostic(intx, G1SummarizeRSetStatsPeriod, 0,                           \
  66           "The period (in number of GCs) at which we will generate "        \
  67           "update buffer processing info "                                  \


   1 /*
   2  * Copyright (c) 2001, 2020, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   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  *


  26 #define SHARE_GC_G1_G1_GLOBALS_HPP
  27 
  28 #include "runtime/globals_shared.hpp"
  29 
  30 //
  31 // Defines all globals flags used by the garbage-first compiler.
  32 //
  33 
  34 #define GC_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                     lp64_product,                                           \
  45                     range,                                                  \
  46                     constraint)                                             \

  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                                                                             \
  60   product(uintx, G1ConfidencePercent, 50,                                   \
  61           "Confidence level for MMU/pause predictions")                     \
  62           range(0, 100)                                                     \
  63                                                                             \
  64   diagnostic(intx, G1SummarizeRSetStatsPeriod, 0,                           \
  65           "The period (in number of GCs) at which we will generate "        \
  66           "update buffer processing info "                                  \


< prev index next >