equal
deleted
inserted
replaced
2640 if (!FLAG_IS_DEFAULT(BackgroundCompilation)) { |
2640 if (!FLAG_IS_DEFAULT(BackgroundCompilation)) { |
2641 warning("BackgroundCompilation disabled due to CompileTheWorld or ReplayCompiles options."); |
2641 warning("BackgroundCompilation disabled due to CompileTheWorld or ReplayCompiles options."); |
2642 } |
2642 } |
2643 FLAG_SET_CMDLINE(bool, BackgroundCompilation, false); |
2643 FLAG_SET_CMDLINE(bool, BackgroundCompilation, false); |
2644 } |
2644 } |
|
2645 if (UseCompiler && is_interpreter_only()) { |
|
2646 if (!FLAG_IS_DEFAULT(UseCompiler)) { |
|
2647 warning("UseCompiler disabled due to -Xint."); |
|
2648 } |
|
2649 FLAG_SET_CMDLINE(bool, UseCompiler, false); |
|
2650 } |
2645 return status; |
2651 return status; |
2646 } |
2652 } |
2647 |
2653 |
2648 bool Arguments::is_bad_option(const JavaVMOption* option, jboolean ignore, |
2654 bool Arguments::is_bad_option(const JavaVMOption* option, jboolean ignore, |
2649 const char* option_type) { |
2655 const char* option_type) { |
4533 |
4539 |
4534 if (FLAG_IS_CMDLINE(CompressedClassSpaceSize) && !UseCompressedClassPointers) { |
4540 if (FLAG_IS_CMDLINE(CompressedClassSpaceSize) && !UseCompressedClassPointers) { |
4535 warning("Setting CompressedClassSpaceSize has no effect when compressed class pointers are not used"); |
4541 warning("Setting CompressedClassSpaceSize has no effect when compressed class pointers are not used"); |
4536 } |
4542 } |
4537 |
4543 |
|
4544 if (UseOnStackReplacement && !UseLoopCounter) { |
|
4545 warning("On-stack-replacement requires loop counters; enabling loop counters"); |
|
4546 FLAG_SET_DEFAULT(UseLoopCounter, true); |
|
4547 } |
|
4548 |
4538 #ifndef PRODUCT |
4549 #ifndef PRODUCT |
4539 if (!LogVMOutput && FLAG_IS_DEFAULT(LogVMOutput)) { |
4550 if (!LogVMOutput && FLAG_IS_DEFAULT(LogVMOutput)) { |
4540 if (use_vm_log()) { |
4551 if (use_vm_log()) { |
4541 LogVMOutput = true; |
4552 LogVMOutput = true; |
4542 } |
4553 } |