src/share/vm/runtime/arguments.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 8024545 Sdiff src/share/vm/runtime

src/share/vm/runtime/arguments.hpp

Print this page




 343   // Based on automatic selection criteria, should the
 344   // low pause collector be used.
 345   static bool should_auto_select_low_pause_collector();
 346 
 347   // Bytecode rewriting
 348   static void set_bytecode_flags();
 349 
 350   // Invocation API hooks
 351   static abort_hook_t     _abort_hook;
 352   static exit_hook_t      _exit_hook;
 353   static vfprintf_hook_t  _vfprintf_hook;
 354 
 355   // System properties
 356   static bool add_property(const char* prop);
 357 
 358   // Aggressive optimization flags.
 359   static void set_aggressive_opts_flags();
 360 
 361   // Argument parsing
 362   static void do_pd_flag_adjustments();
 363   static bool parse_argument(const char* arg, FlagValueOrigin origin);
 364   static bool process_argument(const char* arg, jboolean ignore_unrecognized, FlagValueOrigin origin);
 365   static void process_java_launcher_argument(const char*, void*);
 366   static void process_java_compiler_argument(char* arg);
 367   static jint parse_options_environment_variable(const char* name, SysClassPath* scp_p, bool* scp_assembly_required_p);
 368   static jint parse_java_tool_options_environment_variable(SysClassPath* scp_p, bool* scp_assembly_required_p);
 369   static jint parse_java_options_environment_variable(SysClassPath* scp_p, bool* scp_assembly_required_p);
 370   static jint parse_vm_init_args(const JavaVMInitArgs* args);
 371   static jint parse_each_vm_init_arg(const JavaVMInitArgs* args, SysClassPath* scp_p, bool* scp_assembly_required_p, FlagValueOrigin origin);
 372   static jint finalize_vm_init_args(SysClassPath* scp_p, bool scp_assembly_required);
 373   static bool is_bad_option(const JavaVMOption* option, jboolean ignore,
 374     const char* option_type);
 375   static bool is_bad_option(const JavaVMOption* option, jboolean ignore) {
 376     return is_bad_option(option, ignore, NULL);
 377   }
 378   static bool verify_interval(uintx val, uintx min,
 379                               uintx max, const char* name);
 380   static bool verify_min_value(intx val, intx min, const char* name);
 381   static bool verify_percentage(uintx value, const char* name);
 382   static void describe_range_error(ArgsRange errcode);
 383   static ArgsRange check_memory_size(julong size, julong min_size);
 384   static ArgsRange parse_memory_size(const char* s, julong* long_arg,
 385                                      julong min_size);
 386   // Parse a string for a unsigned integer.  Returns true if value
 387   // is an unsigned integer greater than or equal to the minimum
 388   // parameter passed and returns the value in uintx_arg.  Returns
 389   // false otherwise, with uintx_arg undefined.
 390   static bool parse_uintx(const char* value, uintx* uintx_arg,
 391                           uintx min_size);




 343   // Based on automatic selection criteria, should the
 344   // low pause collector be used.
 345   static bool should_auto_select_low_pause_collector();
 346 
 347   // Bytecode rewriting
 348   static void set_bytecode_flags();
 349 
 350   // Invocation API hooks
 351   static abort_hook_t     _abort_hook;
 352   static exit_hook_t      _exit_hook;
 353   static vfprintf_hook_t  _vfprintf_hook;
 354 
 355   // System properties
 356   static bool add_property(const char* prop);
 357 
 358   // Aggressive optimization flags.
 359   static void set_aggressive_opts_flags();
 360 
 361   // Argument parsing
 362   static void do_pd_flag_adjustments();
 363   static bool parse_argument(const char* arg, Flag::Flags origin);
 364   static bool process_argument(const char* arg, jboolean ignore_unrecognized, Flag::Flags origin);
 365   static void process_java_launcher_argument(const char*, void*);
 366   static void process_java_compiler_argument(char* arg);
 367   static jint parse_options_environment_variable(const char* name, SysClassPath* scp_p, bool* scp_assembly_required_p);
 368   static jint parse_java_tool_options_environment_variable(SysClassPath* scp_p, bool* scp_assembly_required_p);
 369   static jint parse_java_options_environment_variable(SysClassPath* scp_p, bool* scp_assembly_required_p);
 370   static jint parse_vm_init_args(const JavaVMInitArgs* args);
 371   static jint parse_each_vm_init_arg(const JavaVMInitArgs* args, SysClassPath* scp_p, bool* scp_assembly_required_p, Flag::Flags origin);
 372   static jint finalize_vm_init_args(SysClassPath* scp_p, bool scp_assembly_required);
 373   static bool is_bad_option(const JavaVMOption* option, jboolean ignore,
 374     const char* option_type);
 375   static bool is_bad_option(const JavaVMOption* option, jboolean ignore) {
 376     return is_bad_option(option, ignore, NULL);
 377   }
 378   static bool verify_interval(uintx val, uintx min,
 379                               uintx max, const char* name);
 380   static bool verify_min_value(intx val, intx min, const char* name);
 381   static bool verify_percentage(uintx value, const char* name);
 382   static void describe_range_error(ArgsRange errcode);
 383   static ArgsRange check_memory_size(julong size, julong min_size);
 384   static ArgsRange parse_memory_size(const char* s, julong* long_arg,
 385                                      julong min_size);
 386   // Parse a string for a unsigned integer.  Returns true if value
 387   // is an unsigned integer greater than or equal to the minimum
 388   // parameter passed and returns the value in uintx_arg.  Returns
 389   // false otherwise, with uintx_arg undefined.
 390   static bool parse_uintx(const char* value, uintx* uintx_arg,
 391                           uintx min_size);


src/share/vm/runtime/arguments.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File