< prev index next >

src/share/vm/runtime/arguments.cpp

Print this page

        

*** 2310,2319 **** --- 2310,2330 ---- } //=========================================================================================================== // Parsing of main arguments + #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_arg_inconsistency_error_message(); + return false; + } + return true; + } + #endif //INCLUDE_JVMCI + // Check consistency of GC selection bool Arguments::check_gc_consistency() { // Ensure that the user has not selected conflicting sets // of collectors. uint i = 0;
*** 2406,2415 **** --- 2417,2429 ---- #if INCLUDE_NMT } #endif } #if INCLUDE_JVMCI + + status = status && check_jvmci_args_consistency(); + if (EnableJVMCI) { if (!ScavengeRootsInCode) { warning("forcing ScavengeRootsInCode non-zero because JVMCI is enabled"); ScavengeRootsInCode = 1; }
< prev index next >