hotspot/src/share/vm/runtime/commandLineFlagRangeList.cpp
changeset 33222 e0a340f4ab6e
parent 33144 c56850e328fc
child 33230 23bb11a5cf4e
equal deleted inserted replaced
33219:08f642d9214f 33222:e0a340f4ab6e
    27 #include "classfile/symbolTable.hpp"
    27 #include "classfile/symbolTable.hpp"
    28 #include "gc/shared/referenceProcessor.hpp"
    28 #include "gc/shared/referenceProcessor.hpp"
    29 #include "runtime/arguments.hpp"
    29 #include "runtime/arguments.hpp"
    30 #include "runtime/commandLineFlagRangeList.hpp"
    30 #include "runtime/commandLineFlagRangeList.hpp"
    31 #include "runtime/os.hpp"
    31 #include "runtime/os.hpp"
       
    32 #include "runtime/task.hpp"
    32 #include "utilities/defaultStream.hpp"
    33 #include "utilities/defaultStream.hpp"
    33 #include "utilities/macros.hpp"
    34 #include "utilities/macros.hpp"
    34 
    35 
    35 void CommandLineError::print(bool verbose, const char* msg, ...) {
    36 void CommandLineError::print(bool verbose, const char* msg, ...) {
    36   if (verbose) {
    37   if (verbose) {
   276 #define EMIT_RANGE_LP64_PRODUCT_FLAG(type, name, value, doc) ); emit_range_##type(#name
   277 #define EMIT_RANGE_LP64_PRODUCT_FLAG(type, name, value, doc) ); emit_range_##type(#name
   277 
   278 
   278 // Generate func argument to pass into emit_range_xxx functions
   279 // Generate func argument to pass into emit_range_xxx functions
   279 #define EMIT_RANGE_CHECK(a, b)                               , a, b
   280 #define EMIT_RANGE_CHECK(a, b)                               , a, b
   280 
   281 
   281 #define INITIAL_RANGES_SIZE 165
   282 #define INITIAL_RANGES_SIZE 204
   282 GrowableArray<CommandLineFlagRange*>* CommandLineFlagRangeList::_ranges = NULL;
   283 GrowableArray<CommandLineFlagRange*>* CommandLineFlagRangeList::_ranges = NULL;
   283 
   284 
   284 // Check the ranges of all flags that have them
   285 // Check the ranges of all flags that have them
   285 void CommandLineFlagRangeList::init(void) {
   286 void CommandLineFlagRangeList::init(void) {
   286 
   287