336 static bool is_bad_option(const JavaVMOption* option, jboolean ignore) { |
336 static bool is_bad_option(const JavaVMOption* option, jboolean ignore) { |
337 return is_bad_option(option, ignore, NULL); |
337 return is_bad_option(option, ignore, NULL); |
338 } |
338 } |
339 static bool verify_interval(uintx val, uintx min, |
339 static bool verify_interval(uintx val, uintx min, |
340 uintx max, const char* name); |
340 uintx max, const char* name); |
|
341 static bool verify_min_value(intx val, intx min, const char* name); |
341 static bool verify_percentage(uintx value, const char* name); |
342 static bool verify_percentage(uintx value, const char* name); |
342 static void describe_range_error(ArgsRange errcode); |
343 static void describe_range_error(ArgsRange errcode); |
343 static ArgsRange check_memory_size(julong size, julong min_size); |
344 static ArgsRange check_memory_size(julong size, julong min_size); |
344 static ArgsRange parse_memory_size(const char* s, julong* long_arg, |
345 static ArgsRange parse_memory_size(const char* s, julong* long_arg, |
345 julong min_size); |
346 julong min_size); |
398 static jint parse(const JavaVMInitArgs* args); |
399 static jint parse(const JavaVMInitArgs* args); |
399 // Check for consistency in the selection of the garbage collector. |
400 // Check for consistency in the selection of the garbage collector. |
400 static bool check_gc_consistency(); |
401 static bool check_gc_consistency(); |
401 // Check consistecy or otherwise of VM argument settings |
402 // Check consistecy or otherwise of VM argument settings |
402 static bool check_vm_args_consistency(); |
403 static bool check_vm_args_consistency(); |
|
404 // Check stack pages settings |
|
405 static bool check_stack_pages(); |
403 // Used by os_solaris |
406 // Used by os_solaris |
404 static bool process_settings_file(const char* file_name, bool should_exist, jboolean ignore_unrecognized); |
407 static bool process_settings_file(const char* file_name, bool should_exist, jboolean ignore_unrecognized); |
405 |
408 |
406 // return a char* array containing all options |
409 // return a char* array containing all options |
407 static char** jvm_flags_array() { return _jvm_flags_array; } |
410 static char** jvm_flags_array() { return _jvm_flags_array; } |