444 static jint parse(const JavaVMInitArgs* args);
445 // Apply ergonomics
446 static jint apply_ergo();
447 // Adjusts the arguments after the OS have adjusted the arguments
448 static jint adjust_after_os();
449
450 // Verifies that the given value will fit as a MinHeapFreeRatio. If not, an error
451 // message is returned in the provided buffer.
452 static bool verify_MinHeapFreeRatio(FormatBuffer<80>& err_msg, uintx min_heap_free_ratio);
453
454 // Verifies that the given value will fit as a MaxHeapFreeRatio. If not, an error
455 // message is returned in the provided buffer.
456 static bool verify_MaxHeapFreeRatio(FormatBuffer<80>& err_msg, uintx max_heap_free_ratio);
457
458 // Check for consistency in the selection of the garbage collector.
459 static bool check_gc_consistency();
460 static void check_deprecated_gcs();
461 static void check_deprecated_gc_flags();
462 // Check consistecy or otherwise of VM argument settings
463 static bool check_vm_args_consistency();
464 // Check stack pages settings
465 static bool check_stack_pages();
466 // Used by os_solaris
467 static bool process_settings_file(const char* file_name, bool should_exist, jboolean ignore_unrecognized);
468
469 static size_t conservative_max_heap_alignment() { return _conservative_max_heap_alignment; }
470 // Return the maximum size a heap with compressed oops can take
471 static size_t max_heap_for_compressed_oops();
472
473 // return a char* array containing all options
474 static char** jvm_flags_array() { return _jvm_flags_array; }
475 static char** jvm_args_array() { return _jvm_args_array; }
476 static int num_jvm_flags() { return _num_jvm_flags; }
477 static int num_jvm_args() { return _num_jvm_args; }
478 // return the arguments passed to the Java application
479 static const char* java_command() { return _java_command; }
480
481 // print jvm_flags, jvm_args and java_command
482 static void print_on(outputStream* st);
483
|
444 static jint parse(const JavaVMInitArgs* args);
445 // Apply ergonomics
446 static jint apply_ergo();
447 // Adjusts the arguments after the OS have adjusted the arguments
448 static jint adjust_after_os();
449
450 // Verifies that the given value will fit as a MinHeapFreeRatio. If not, an error
451 // message is returned in the provided buffer.
452 static bool verify_MinHeapFreeRatio(FormatBuffer<80>& err_msg, uintx min_heap_free_ratio);
453
454 // Verifies that the given value will fit as a MaxHeapFreeRatio. If not, an error
455 // message is returned in the provided buffer.
456 static bool verify_MaxHeapFreeRatio(FormatBuffer<80>& err_msg, uintx max_heap_free_ratio);
457
458 // Check for consistency in the selection of the garbage collector.
459 static bool check_gc_consistency();
460 static void check_deprecated_gcs();
461 static void check_deprecated_gc_flags();
462 // Check consistecy or otherwise of VM argument settings
463 static bool check_vm_args_consistency();
464 static bool check_vm_args_consistency_ext();
465 // Check stack pages settings
466 static bool check_stack_pages();
467 // Used by os_solaris
468 static bool process_settings_file(const char* file_name, bool should_exist, jboolean ignore_unrecognized);
469
470 static size_t conservative_max_heap_alignment() { return _conservative_max_heap_alignment; }
471 // Return the maximum size a heap with compressed oops can take
472 static size_t max_heap_for_compressed_oops();
473
474 // return a char* array containing all options
475 static char** jvm_flags_array() { return _jvm_flags_array; }
476 static char** jvm_args_array() { return _jvm_args_array; }
477 static int num_jvm_flags() { return _num_jvm_flags; }
478 static int num_jvm_args() { return _num_jvm_args; }
479 // return the arguments passed to the Java application
480 static const char* java_command() { return _java_command; }
481
482 // print jvm_flags, jvm_args and java_command
483 static void print_on(outputStream* st);
484
|