--- old/src/share/vm/runtime/commandLineFlagConstraintsCompiler.cpp 2017-07-08 15:19:53.000000000 -0700 +++ new/src/share/vm/runtime/commandLineFlagConstraintsCompiler.cpp 2017-07-08 15:19:53.000000000 -0700 @@ -332,17 +332,6 @@ } } -Flag::Error UseAVXConstraintFunc(intx value, bool verbose) { - if (value > 2 && !UnlockExperimentalVMOptions) { - CommandLineError::print(verbose, - "UseAVX (" UINTX_FORMAT ") is experimental and must be " - "enabled via -XX:+UnlockExperimentalVMOptions \n", value); - return Flag::VIOLATES_CONSTRAINT; - } else { - return Flag::SUCCESS; - } -} - #ifdef COMPILER2 Flag::Error InteriorEntryAlignmentConstraintFunc(intx value, bool verbose) { if (InteriorEntryAlignment > CodeEntryAlignment) {