614 }
615 // Returns freq_log scaled with CompileThresholdScaling
616 static intx scaled_freq_log(intx freq_log, double scale);
617 static intx scaled_freq_log(intx freq_log) {
618 return scaled_freq_log(freq_log, CompileThresholdScaling);
619 }
620
621 // Parses the arguments, first phase
622 static jint parse(const JavaVMInitArgs* args);
623 // Apply ergonomics
624 static jint apply_ergo();
625 // Adjusts the arguments after the OS have adjusted the arguments
626 static jint adjust_after_os();
627
628 static void set_gc_specific_flags();
629 static bool gc_selected(); // whether a gc has been selected
630 static void select_gc_ergonomically();
631 #if INCLUDE_JVMCI
632 // Check consistency of jvmci vm argument settings.
633 static bool check_jvmci_args_consistency();
634 #endif
635 // Check for consistency in the selection of the garbage collector.
636 static bool check_gc_consistency(); // Check user-selected gc
637 // Check consistency or otherwise of VM argument settings
638 static bool check_vm_args_consistency();
639 // Used by os_solaris
640 static bool process_settings_file(const char* file_name, bool should_exist, jboolean ignore_unrecognized);
641
642 static size_t conservative_max_heap_alignment() { return _conservative_max_heap_alignment; }
643 // Return the maximum size a heap with compressed oops can take
644 static size_t max_heap_for_compressed_oops();
645
646 // return a char* array containing all options
647 static char** jvm_flags_array() { return _jvm_flags_array; }
648 static char** jvm_args_array() { return _jvm_args_array; }
649 static int num_jvm_flags() { return _num_jvm_flags; }
650 static int num_jvm_args() { return _num_jvm_args; }
651 // return the arguments passed to the Java application
652 static const char* java_command() { return _java_command; }
653
|
614 }
615 // Returns freq_log scaled with CompileThresholdScaling
616 static intx scaled_freq_log(intx freq_log, double scale);
617 static intx scaled_freq_log(intx freq_log) {
618 return scaled_freq_log(freq_log, CompileThresholdScaling);
619 }
620
621 // Parses the arguments, first phase
622 static jint parse(const JavaVMInitArgs* args);
623 // Apply ergonomics
624 static jint apply_ergo();
625 // Adjusts the arguments after the OS have adjusted the arguments
626 static jint adjust_after_os();
627
628 static void set_gc_specific_flags();
629 static bool gc_selected(); // whether a gc has been selected
630 static void select_gc_ergonomically();
631 #if INCLUDE_JVMCI
632 // Check consistency of jvmci vm argument settings.
633 static bool check_jvmci_args_consistency();
634 static void set_jvmci_specific_flags();
635 #endif
636 // Check for consistency in the selection of the garbage collector.
637 static bool check_gc_consistency(); // Check user-selected gc
638 // Check consistency or otherwise of VM argument settings
639 static bool check_vm_args_consistency();
640 // Used by os_solaris
641 static bool process_settings_file(const char* file_name, bool should_exist, jboolean ignore_unrecognized);
642
643 static size_t conservative_max_heap_alignment() { return _conservative_max_heap_alignment; }
644 // Return the maximum size a heap with compressed oops can take
645 static size_t max_heap_for_compressed_oops();
646
647 // return a char* array containing all options
648 static char** jvm_flags_array() { return _jvm_flags_array; }
649 static char** jvm_args_array() { return _jvm_args_array; }
650 static int num_jvm_flags() { return _num_jvm_flags; }
651 static int num_jvm_args() { return _num_jvm_args; }
652 // return the arguments passed to the Java application
653 static const char* java_command() { return _java_command; }
654
|