< prev index next >

src/share/vm/runtime/arguments.cpp

Print this page

        

*** 2535,2544 **** --- 2535,2552 ---- if(EnableMVT && EnableValhalla) { jio_fprintf(defaultStream::error_stream(), "Conflicting combination in option list: EnableMVT and EnableValhalla cannot be both enabled at the same time"); } + if (!EnableMVT && CompileTheWorld) { + if (!FLAG_IS_DEFAULT(EnableMVT)) { + warning("EnableMVT enabled due to CompileTheWorld."); + } + // We need to enable MVT because CompileTheWorld may process java.lang.__Value + FLAG_SET_CMDLINE(bool, EnableMVT, true); + } + return status; } bool Arguments::is_bad_option(const JavaVMOption* option, jboolean ignore, const char* option_type) {
< prev index next >