hotspot/src/share/vm/runtime/commandLineFlagConstraintList.cpp
changeset 37491 edf4cc53f5a3
parent 37208 aaf76eb8cfd4
child 38273 2634194d7555
equal deleted inserted replaced
37473:8af1deb0c879 37491:edf4cc53f5a3
   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) {
   229   _constraints = new (ResourceObj::C_HEAP, mtInternal) GrowableArray<CommandLineFlagConstraint*>(INITIAL_CONSTRAINTS_SIZE, true);
   229   _constraints = new (ResourceObj::C_HEAP, mtArguments) GrowableArray<CommandLineFlagConstraint*>(INITIAL_CONSTRAINTS_SIZE, true);
   230 
   230 
   231   emit_constraint_no(NULL RUNTIME_FLAGS(EMIT_CONSTRAINT_DEVELOPER_FLAG,
   231   emit_constraint_no(NULL RUNTIME_FLAGS(EMIT_CONSTRAINT_DEVELOPER_FLAG,
   232                                         EMIT_CONSTRAINT_PD_DEVELOPER_FLAG,
   232                                         EMIT_CONSTRAINT_PD_DEVELOPER_FLAG,
   233                                         EMIT_CONSTRAINT_PRODUCT_FLAG,
   233                                         EMIT_CONSTRAINT_PRODUCT_FLAG,
   234                                         EMIT_CONSTRAINT_PD_PRODUCT_FLAG,
   234                                         EMIT_CONSTRAINT_PD_PRODUCT_FLAG,