< prev index next >

src/hotspot/share/gc/shared/jvmFlagConstraintsGC.cpp

Print this page


  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 #include "precompiled.hpp"
  26 #include "gc/shared/cardTableRS.hpp"
  27 #include "gc/shared/collectedHeap.hpp"
  28 #include "gc/shared/gcArguments.hpp"
  29 #include "gc/shared/gcConfig.hpp"
  30 #include "gc/shared/jvmFlagConstraintsGC.hpp"
  31 #include "gc/shared/plab.hpp"
  32 #include "gc/shared/threadLocalAllocBuffer.hpp"
  33 #include "runtime/arguments.hpp"
  34 #include "runtime/globals.hpp"
  35 #include "runtime/globals_extension.hpp"
  36 #include "runtime/thread.inline.hpp"
  37 #include "utilities/align.hpp"
  38 #include "utilities/macros.hpp"
  39 #include "utilities/powerOfTwo.hpp"
  40 #if INCLUDE_G1GC
  41 #include "gc/g1/jvmFlagConstraintsG1.hpp"
  42 #endif
  43 #if INCLUDE_PARALLELGC
  44 #include "gc/parallel/jvmFlagConstraintsParallel.hpp"
  45 #endif
  46 
  47 // Some flags that have default values that indicate that the
  48 // JVM should automatically determine an appropriate value
  49 // for that flag.  In those cases it is only appropriate for the
  50 // constraint checking to be done if the user has specified the
  51 // value(s) of the flag(s) on the command line.  In the constraint
  52 // checking functions,  FLAG_IS_CMDLINE() is used to check if
  53 // the flag has been set by the user and so should be checked.
  54 
  55 // As ParallelGCThreads differs among GC modes, we need constraint function.




  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 #include "precompiled.hpp"
  26 #include "gc/shared/cardTableRS.hpp"
  27 #include "gc/shared/collectedHeap.hpp"
  28 #include "gc/shared/gcArguments.hpp"
  29 #include "gc/shared/gcConfig.hpp"
  30 #include "gc/shared/jvmFlagConstraintsGC.hpp"
  31 #include "gc/shared/plab.hpp"
  32 #include "gc/shared/threadLocalAllocBuffer.hpp"
  33 #include "runtime/arguments.hpp"
  34 #include "runtime/globals.hpp"

  35 #include "runtime/thread.inline.hpp"
  36 #include "utilities/align.hpp"
  37 #include "utilities/macros.hpp"
  38 #include "utilities/powerOfTwo.hpp"
  39 #if INCLUDE_G1GC
  40 #include "gc/g1/jvmFlagConstraintsG1.hpp"
  41 #endif
  42 #if INCLUDE_PARALLELGC
  43 #include "gc/parallel/jvmFlagConstraintsParallel.hpp"
  44 #endif
  45 
  46 // Some flags that have default values that indicate that the
  47 // JVM should automatically determine an appropriate value
  48 // for that flag.  In those cases it is only appropriate for the
  49 // constraint checking to be done if the user has specified the
  50 // value(s) of the flag(s) on the command line.  In the constraint
  51 // checking functions,  FLAG_IS_CMDLINE() is used to check if
  52 // the flag has been set by the user and so should be checked.
  53 
  54 // As ParallelGCThreads differs among GC modes, we need constraint function.


< prev index next >