mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 01:24:33 +02:00
8161265: [JVMCI] EnableJVMCI should only be required when its not implied by other flags
Reviewed-by: twisti, kvn, never
This commit is contained in:
parent
48476abaa6
commit
86961b9419
6 changed files with 62 additions and 217 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue