hotspot/src/share/vm/runtime/commandLineFlagConstraintList.cpp
changeset 33222 e0a340f4ab6e
parent 33144 c56850e328fc
child 33230 23bb11a5cf4e
equal deleted inserted replaced
33219:08f642d9214f 33222:e0a340f4ab6e
   218 
   218 
   219 // Generate func argument to pass into emit_constraint_xxx functions
   219 // Generate func argument to pass into emit_constraint_xxx functions
   220 #define EMIT_CONSTRAINT_CHECK(func, type)                               , func, CommandLineFlagConstraint::type
   220 #define EMIT_CONSTRAINT_CHECK(func, type)                               , func, CommandLineFlagConstraint::type
   221 
   221 
   222 // the "name" argument must be a string literal
   222 // the "name" argument must be a string literal
   223 #define INITIAL_CONSTRAINTS_SIZE 40
   223 #define INITIAL_CONSTRAINTS_SIZE 45
   224 GrowableArray<CommandLineFlagConstraint*>* CommandLineFlagConstraintList::_constraints = NULL;
   224 GrowableArray<CommandLineFlagConstraint*>* CommandLineFlagConstraintList::_constraints = NULL;
   225 CommandLineFlagConstraint::ConstraintType CommandLineFlagConstraintList::_validating_type = CommandLineFlagConstraint::AtParse;
   225 CommandLineFlagConstraint::ConstraintType CommandLineFlagConstraintList::_validating_type = CommandLineFlagConstraint::AtParse;
   226 
   226 
   227 // Check the ranges of all flags that have them or print them out and exit if requested
   227 // Check the ranges of all flags that have them or print them out and exit if requested
   228 void CommandLineFlagConstraintList::init(void) {
   228 void CommandLineFlagConstraintList::init(void) {