8161265: [JVMCI] EnableJVMCI should only be required when its not implied by other flags

Reviewed-by: twisti, kvn, never
This commit is contained in:
Doug Simon 2016-07-20 22:18:13 +00:00
parent 48476abaa6
commit 86961b9419
6 changed files with 62 additions and 217 deletions

View file

@ -2276,11 +2276,7 @@ bool Arguments::sun_java_launcher_is_altjvm() {
#if INCLUDE_JVMCI
// Check consistency of jvmci vm argument settings.
bool Arguments::check_jvmci_args_consistency() {
if (!EnableJVMCI && !JVMCIGlobals::check_jvmci_flags_are_consistent()) {
JVMCIGlobals::print_jvmci_args_inconsistency_error_message();
return false;
}
return true;
return JVMCIGlobals::check_jvmci_flags_are_consistent();
}
#endif //INCLUDE_JVMCI