src/share/vm/runtime/arguments.cpp

changeset 1585
f62a22282a47
parent 1570
e66fd840cb6b
child 1590
4e6abf09f540
equal deleted inserted replaced
1579:9b9c1ee9b3f6 1585:f62a22282a47
2631 IgnoreUnrecognizedVMOptions = true; 2631 IgnoreUnrecognizedVMOptions = true;
2632 } 2632 }
2633 if (match_option(option, "-XX:-IgnoreUnrecognizedVMOptions", &tail)) { 2633 if (match_option(option, "-XX:-IgnoreUnrecognizedVMOptions", &tail)) {
2634 IgnoreUnrecognizedVMOptions = false; 2634 IgnoreUnrecognizedVMOptions = false;
2635 } 2635 }
2636 if (match_option(option, "-XX:+PrintFlagsInitial", &tail)) {
2637 CommandLineFlags::printFlags();
2638 vm_exit(0);
2639 }
2636 } 2640 }
2637 2641
2638 if (IgnoreUnrecognizedVMOptions) { 2642 if (IgnoreUnrecognizedVMOptions) {
2639 // uncast const to modify the flag args->ignoreUnrecognized 2643 // uncast const to modify the flag args->ignoreUnrecognized
2640 *(jboolean*)(&args->ignoreUnrecognized) = true; 2644 *(jboolean*)(&args->ignoreUnrecognized) = true;
2793 2797
2794 if (PrintCommandLineFlags) { 2798 if (PrintCommandLineFlags) {
2795 CommandLineFlags::printSetFlags(); 2799 CommandLineFlags::printSetFlags();
2796 } 2800 }
2797 2801
2798 #ifdef ASSERT
2799 if (PrintFlagsFinal) { 2802 if (PrintFlagsFinal) {
2800 CommandLineFlags::printFlags(); 2803 CommandLineFlags::printFlags();
2801 } 2804 }
2802 #endif
2803 2805
2804 return JNI_OK; 2806 return JNI_OK;
2805 } 2807 }
2806 2808
2807 int Arguments::PropertyList_count(SystemProperty* pl) { 2809 int Arguments::PropertyList_count(SystemProperty* pl) {

mercurial