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

src/share/vm/runtime/arguments.hpp

Print this page




 395   static bool _has_jimage;
 396 
 397   // temporary: to emit warning if the default ext dirs are not empty.
 398   // remove this variable when the warning is no longer needed.
 399   static char* _ext_dirs;
 400 
 401   // java.vendor.url.bug, bug reporting URL for fatal errors.
 402   static const char* _java_vendor_url_bug;
 403 
 404   // sun.java.launcher, private property to provide information about
 405   // java launcher
 406   static const char* _sun_java_launcher;
 407 
 408   // sun.java.launcher.pid, private property
 409   static int    _sun_java_launcher_pid;
 410 
 411   // was this VM created via the -XXaltjvm=<path> option
 412   static bool   _sun_java_launcher_is_altjvm;
 413 
 414   // Option flags
 415   static bool   _has_profile;
 416   static const char*  _gc_log_filename;
 417   // Value of the conservative maximum heap alignment needed
 418   static size_t  _conservative_max_heap_alignment;
 419 
 420   static uintx  _min_heap_size;
 421 
 422   // -Xrun arguments
 423   static AgentLibraryList _libraryList;
 424   static void add_init_library(const char* name, char* options)
 425     { _libraryList.add(new AgentLibrary(name, options, false, NULL)); }
 426 
 427   // -agentlib and -agentpath arguments
 428   static AgentLibraryList _agentList;
 429   static void add_init_agent(const char* name, char* options, bool absolute_path)
 430     { _agentList.add(new AgentLibrary(name, options, absolute_path, NULL)); }
 431 
 432   // Late-binding agents not started via arguments
 433   static void add_loaded_agent(AgentLibrary *agentLib)
 434     { _agentList.add(agentLib); }
 435   static void add_loaded_agent(const char* name, char* options, bool absolute_path, void* os_lib)


 679   static const char* jvm_args()            { return build_resource_string(_jvm_args_array, _num_jvm_args); }
 680   static void print_jvm_flags_on(outputStream* st);
 681   static void print_jvm_args_on(outputStream* st);
 682 
 683   // -Dkey=value flags
 684   static SystemProperty*  system_properties()   { return _system_properties; }
 685   static const char*    get_property(const char* key);
 686 
 687   // -Djava.vendor.url.bug
 688   static const char* java_vendor_url_bug()  { return _java_vendor_url_bug; }
 689 
 690   // -Dsun.java.launcher
 691   static const char* sun_java_launcher()    { return _sun_java_launcher; }
 692   // Was VM created by a Java launcher?
 693   static bool created_by_java_launcher();
 694   // -Dsun.java.launcher.is_altjvm
 695   static bool sun_java_launcher_is_altjvm();
 696   // -Dsun.java.launcher.pid
 697   static int sun_java_launcher_pid()        { return _sun_java_launcher_pid; }
 698 
 699   // -Xprof
 700   static bool has_profile()                 { return _has_profile; }
 701 
 702   // -Xms
 703   static size_t min_heap_size()             { return _min_heap_size; }
 704   static void  set_min_heap_size(size_t v)  { _min_heap_size = v;  }
 705 
 706   // -Xrun
 707   static AgentLibrary* libraries()          { return _libraryList.first(); }
 708   static bool init_libraries_at_startup()   { return !_libraryList.is_empty(); }
 709   static void convert_library_to_agent(AgentLibrary* lib)
 710                                             { _libraryList.remove(lib);
 711                                               _agentList.add(lib); }
 712 
 713   // -agentlib -agentpath
 714   static AgentLibrary* agents()             { return _agentList.first(); }
 715   static bool init_agents_at_startup()      { return !_agentList.is_empty(); }
 716 
 717   // abort, exit, vfprintf hooks
 718   static abort_hook_t    abort_hook()       { return _abort_hook; }
 719   static exit_hook_t     exit_hook()        { return _exit_hook; }
 720   static vfprintf_hook_t vfprintf_hook()    { return _vfprintf_hook; }
 721 




 395   static bool _has_jimage;
 396 
 397   // temporary: to emit warning if the default ext dirs are not empty.
 398   // remove this variable when the warning is no longer needed.
 399   static char* _ext_dirs;
 400 
 401   // java.vendor.url.bug, bug reporting URL for fatal errors.
 402   static const char* _java_vendor_url_bug;
 403 
 404   // sun.java.launcher, private property to provide information about
 405   // java launcher
 406   static const char* _sun_java_launcher;
 407 
 408   // sun.java.launcher.pid, private property
 409   static int    _sun_java_launcher_pid;
 410 
 411   // was this VM created via the -XXaltjvm=<path> option
 412   static bool   _sun_java_launcher_is_altjvm;
 413 
 414   // Option flags

 415   static const char*  _gc_log_filename;
 416   // Value of the conservative maximum heap alignment needed
 417   static size_t  _conservative_max_heap_alignment;
 418 
 419   static uintx  _min_heap_size;
 420 
 421   // -Xrun arguments
 422   static AgentLibraryList _libraryList;
 423   static void add_init_library(const char* name, char* options)
 424     { _libraryList.add(new AgentLibrary(name, options, false, NULL)); }
 425 
 426   // -agentlib and -agentpath arguments
 427   static AgentLibraryList _agentList;
 428   static void add_init_agent(const char* name, char* options, bool absolute_path)
 429     { _agentList.add(new AgentLibrary(name, options, absolute_path, NULL)); }
 430 
 431   // Late-binding agents not started via arguments
 432   static void add_loaded_agent(AgentLibrary *agentLib)
 433     { _agentList.add(agentLib); }
 434   static void add_loaded_agent(const char* name, char* options, bool absolute_path, void* os_lib)


 678   static const char* jvm_args()            { return build_resource_string(_jvm_args_array, _num_jvm_args); }
 679   static void print_jvm_flags_on(outputStream* st);
 680   static void print_jvm_args_on(outputStream* st);
 681 
 682   // -Dkey=value flags
 683   static SystemProperty*  system_properties()   { return _system_properties; }
 684   static const char*    get_property(const char* key);
 685 
 686   // -Djava.vendor.url.bug
 687   static const char* java_vendor_url_bug()  { return _java_vendor_url_bug; }
 688 
 689   // -Dsun.java.launcher
 690   static const char* sun_java_launcher()    { return _sun_java_launcher; }
 691   // Was VM created by a Java launcher?
 692   static bool created_by_java_launcher();
 693   // -Dsun.java.launcher.is_altjvm
 694   static bool sun_java_launcher_is_altjvm();
 695   // -Dsun.java.launcher.pid
 696   static int sun_java_launcher_pid()        { return _sun_java_launcher_pid; }
 697 



 698   // -Xms
 699   static size_t min_heap_size()             { return _min_heap_size; }
 700   static void  set_min_heap_size(size_t v)  { _min_heap_size = v;  }
 701 
 702   // -Xrun
 703   static AgentLibrary* libraries()          { return _libraryList.first(); }
 704   static bool init_libraries_at_startup()   { return !_libraryList.is_empty(); }
 705   static void convert_library_to_agent(AgentLibrary* lib)
 706                                             { _libraryList.remove(lib);
 707                                               _agentList.add(lib); }
 708 
 709   // -agentlib -agentpath
 710   static AgentLibrary* agents()             { return _agentList.first(); }
 711   static bool init_agents_at_startup()      { return !_agentList.is_empty(); }
 712 
 713   // abort, exit, vfprintf hooks
 714   static abort_hook_t    abort_hook()       { return _abort_hook; }
 715   static exit_hook_t     exit_hook()        { return _exit_hook; }
 716   static vfprintf_hook_t vfprintf_hook()    { return _vfprintf_hook; }
 717 


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