diff -r 3721b7aa3a0d -r aa4049b4184a hotspot/src/share/vm/runtime/commandLineFlagConstraintsCompiler.cpp --- a/hotspot/src/share/vm/runtime/commandLineFlagConstraintsCompiler.cpp Mon Jul 27 14:05:55 2015 -0400 +++ b/hotspot/src/share/vm/runtime/commandLineFlagConstraintsCompiler.cpp Mon Jul 27 13:56:26 2015 -0700 @@ -29,16 +29,15 @@ #include "utilities/defaultStream.hpp" Flag::Error AliasLevelConstraintFunc(bool verbose, intx* value) { - if (CommandLineFlags::finishedInitializing() == true) { - if ((*value <= 1) && (Arguments::mode() == Arguments::_comp)) { - if (verbose == true) { - jio_fprintf(defaultStream::error_stream(), - "AliasLevel (" INTX_FORMAT ") is not compatible " - "with -Xcomp \n", - *value); - } - return Flag::VIOLATES_CONSTRAINT; + if ((*value <= 1) && (Arguments::mode() == Arguments::_comp)) { + if (verbose == true) { + jio_fprintf(defaultStream::error_stream(), + "AliasLevel (" INTX_FORMAT ") is not compatible " + "with -Xcomp \n", + *value); } + return Flag::VIOLATES_CONSTRAINT; + } else { + return Flag::SUCCESS; } - return Flag::SUCCESS; }