< prev index next >

src/hotspot/share/runtime/arguments.hpp

Print this page

401   static const char* java_command()        { return _java_command; }
402 
403   // print jvm_flags, jvm_args and java_command
404   static void print_on(outputStream* st);
405   static void print_summary_on(outputStream* st);
406 
407   // convenient methods to get and set jvm_flags_file
408   static const char* get_jvm_flags_file()  { return _jvm_flags_file; }
409   static void set_jvm_flags_file(const char *value) {
410     if (_jvm_flags_file != nullptr) {
411       os::free(_jvm_flags_file);
412     }
413     _jvm_flags_file = os::strdup_check_oom(value);
414   }
415   // convenient methods to obtain / print jvm_flags and jvm_args
416   static const char* jvm_flags()           { return build_resource_string(_jvm_flags_array, _num_jvm_flags); }
417   static const char* jvm_args()            { return build_resource_string(_jvm_args_array, _num_jvm_args); }
418   static void print_jvm_flags_on(outputStream* st);
419   static void print_jvm_args_on(outputStream* st);
420 




421   // -Dkey=value flags
422   static SystemProperty*  system_properties()   { return _system_properties; }
423   static const char*    get_property(const char* key);
424 
425   // -Djava.vendor.url.bug
426   static const char* java_vendor_url_bug()  { return _java_vendor_url_bug; }
427 
428   // -Dsun.java.launcher
429   static const char* sun_java_launcher()    { return _sun_java_launcher; }
430   // Was VM created by a Java launcher?
431   static bool created_by_java_launcher();
432   // -Dsun.java.launcher.is_altjvm
433   static bool sun_java_launcher_is_altjvm();
434 
435   // abort, exit, vfprintf hooks
436   static abort_hook_t    abort_hook()       { return _abort_hook; }
437   static exit_hook_t     exit_hook()        { return _exit_hook; }
438   static vfprintf_hook_t vfprintf_hook()    { return _vfprintf_hook; }
439 
440   static void no_shared_spaces(const char* message);

401   static const char* java_command()        { return _java_command; }
402 
403   // print jvm_flags, jvm_args and java_command
404   static void print_on(outputStream* st);
405   static void print_summary_on(outputStream* st);
406 
407   // convenient methods to get and set jvm_flags_file
408   static const char* get_jvm_flags_file()  { return _jvm_flags_file; }
409   static void set_jvm_flags_file(const char *value) {
410     if (_jvm_flags_file != nullptr) {
411       os::free(_jvm_flags_file);
412     }
413     _jvm_flags_file = os::strdup_check_oom(value);
414   }
415   // convenient methods to obtain / print jvm_flags and jvm_args
416   static const char* jvm_flags()           { return build_resource_string(_jvm_flags_array, _num_jvm_flags); }
417   static const char* jvm_args()            { return build_resource_string(_jvm_args_array, _num_jvm_args); }
418   static void print_jvm_flags_on(outputStream* st);
419   static void print_jvm_args_on(outputStream* st);
420 
421   // Parse the environment variable AOT_TOOL_OPTIONS and store the individual "initial"
422   // arguments in the GrowableArray. Each string is resource allocated
423   static jint parse_aot_tool_options_environment_variable(GrowableArray<const char*>* options);
424 
425   // -Dkey=value flags
426   static SystemProperty*  system_properties()   { return _system_properties; }
427   static const char*    get_property(const char* key);
428 
429   // -Djava.vendor.url.bug
430   static const char* java_vendor_url_bug()  { return _java_vendor_url_bug; }
431 
432   // -Dsun.java.launcher
433   static const char* sun_java_launcher()    { return _sun_java_launcher; }
434   // Was VM created by a Java launcher?
435   static bool created_by_java_launcher();
436   // -Dsun.java.launcher.is_altjvm
437   static bool sun_java_launcher_is_altjvm();
438 
439   // abort, exit, vfprintf hooks
440   static abort_hook_t    abort_hook()       { return _abort_hook; }
441   static exit_hook_t     exit_hook()        { return _exit_hook; }
442   static vfprintf_hook_t vfprintf_hook()    { return _vfprintf_hook; }
443 
444   static void no_shared_spaces(const char* message);
< prev index next >