hotspot/src/share/vm/runtime/arguments.cpp
changeset 38055 9dddf9056918
parent 38051 d092550d625d
child 38057 1eba14626850
child 38129 7adeefaa6d1d
equal deleted inserted replaced
38053:e6efb2c54538 38055:9dddf9056918
  2618     if (!FLAG_IS_DEFAULT(BackgroundCompilation)) {
  2618     if (!FLAG_IS_DEFAULT(BackgroundCompilation)) {
  2619       warning("BackgroundCompilation disabled due to CompileTheWorld or ReplayCompiles options.");
  2619       warning("BackgroundCompilation disabled due to CompileTheWorld or ReplayCompiles options.");
  2620     }
  2620     }
  2621     FLAG_SET_CMDLINE(bool, BackgroundCompilation, false);
  2621     FLAG_SET_CMDLINE(bool, BackgroundCompilation, false);
  2622   }
  2622   }
       
  2623   if (UseCompiler && is_interpreter_only()) {
       
  2624     if (!FLAG_IS_DEFAULT(UseCompiler)) {
       
  2625       warning("UseCompiler disabled due to -Xint.");
       
  2626     }
       
  2627     FLAG_SET_CMDLINE(bool, UseCompiler, false);
       
  2628   }
  2623   return status;
  2629   return status;
  2624 }
  2630 }
  2625 
  2631 
  2626 bool Arguments::is_bad_option(const JavaVMOption* option, jboolean ignore,
  2632 bool Arguments::is_bad_option(const JavaVMOption* option, jboolean ignore,
  2627   const char* option_type) {
  2633   const char* option_type) {