< prev index next >

src/hotspot/share/runtime/arguments.hpp

Print this page
rev 56298 : 8231171: remove remaining sun.java.launcher.pid references


 305   // Note: since --patch-module is a module name/path pair, the
 306   // system boot class path string no longer contains the "prefix"
 307   // to the boot class path base piece as it did when
 308   // -Xbootclasspath/p was supported.
 309   static PathString *_system_boot_class_path;
 310 
 311   // Set if a modular java runtime image is present vs. a build with exploded modules
 312   static bool _has_jimage;
 313 
 314   // temporary: to emit warning if the default ext dirs are not empty.
 315   // remove this variable when the warning is no longer needed.
 316   static char* _ext_dirs;
 317 
 318   // java.vendor.url.bug, bug reporting URL for fatal errors.
 319   static const char* _java_vendor_url_bug;
 320 
 321   // sun.java.launcher, private property to provide information about
 322   // java launcher
 323   static const char* _sun_java_launcher;
 324 
 325   // sun.java.launcher.pid, private property
 326   static int    _sun_java_launcher_pid;
 327 
 328   // was this VM created via the -XXaltjvm=<path> option
 329   static bool   _sun_java_launcher_is_altjvm;
 330 
 331   // Option flags
 332   static const char*  _gc_log_filename;
 333   // Value of the conservative maximum heap alignment needed
 334   static size_t  _conservative_max_heap_alignment;
 335 
 336   // -Xrun arguments
 337   static AgentLibraryList _libraryList;
 338   static void add_init_library(const char* name, char* options);
 339 
 340   // -agentlib and -agentpath arguments
 341   static AgentLibraryList _agentList;
 342   static void add_init_agent(const char* name, char* options, bool absolute_path);
 343   static void add_instrument_agent(const char* name, char* options, bool absolute_path);
 344 
 345   // Late-binding agents not started via arguments
 346   static void add_loaded_agent(AgentLibrary *agentLib);
 347 


 531   }
 532   // convenient methods to obtain / print jvm_flags and jvm_args
 533   static const char* jvm_flags()           { return build_resource_string(_jvm_flags_array, _num_jvm_flags); }
 534   static const char* jvm_args()            { return build_resource_string(_jvm_args_array, _num_jvm_args); }
 535   static void print_jvm_flags_on(outputStream* st);
 536   static void print_jvm_args_on(outputStream* st);
 537 
 538   // -Dkey=value flags
 539   static SystemProperty*  system_properties()   { return _system_properties; }
 540   static const char*    get_property(const char* key);
 541 
 542   // -Djava.vendor.url.bug
 543   static const char* java_vendor_url_bug()  { return _java_vendor_url_bug; }
 544 
 545   // -Dsun.java.launcher
 546   static const char* sun_java_launcher()    { return _sun_java_launcher; }
 547   // Was VM created by a Java launcher?
 548   static bool created_by_java_launcher();
 549   // -Dsun.java.launcher.is_altjvm
 550   static bool sun_java_launcher_is_altjvm();
 551   // -Dsun.java.launcher.pid
 552   static int sun_java_launcher_pid()        { return _sun_java_launcher_pid; }
 553 
 554   // -Xrun
 555   static AgentLibrary* libraries()          { return _libraryList.first(); }
 556   static bool init_libraries_at_startup()   { return !_libraryList.is_empty(); }
 557   static void convert_library_to_agent(AgentLibrary* lib)
 558                                             { _libraryList.remove(lib);
 559                                               _agentList.add(lib); }
 560 
 561   // -agentlib -agentpath
 562   static AgentLibrary* agents()             { return _agentList.first(); }
 563   static bool init_agents_at_startup()      { return !_agentList.is_empty(); }
 564 
 565   // abort, exit, vfprintf hooks
 566   static abort_hook_t    abort_hook()       { return _abort_hook; }
 567   static exit_hook_t     exit_hook()        { return _exit_hook; }
 568   static vfprintf_hook_t vfprintf_hook()    { return _vfprintf_hook; }
 569 
 570   static const char* GetSharedArchivePath() { return SharedArchivePath; }
 571   static const char* GetSharedDynamicArchivePath() { return SharedDynamicArchivePath; }
 572 




 305   // Note: since --patch-module is a module name/path pair, the
 306   // system boot class path string no longer contains the "prefix"
 307   // to the boot class path base piece as it did when
 308   // -Xbootclasspath/p was supported.
 309   static PathString *_system_boot_class_path;
 310 
 311   // Set if a modular java runtime image is present vs. a build with exploded modules
 312   static bool _has_jimage;
 313 
 314   // temporary: to emit warning if the default ext dirs are not empty.
 315   // remove this variable when the warning is no longer needed.
 316   static char* _ext_dirs;
 317 
 318   // java.vendor.url.bug, bug reporting URL for fatal errors.
 319   static const char* _java_vendor_url_bug;
 320 
 321   // sun.java.launcher, private property to provide information about
 322   // java launcher
 323   static const char* _sun_java_launcher;
 324 



 325   // was this VM created via the -XXaltjvm=<path> option
 326   static bool   _sun_java_launcher_is_altjvm;
 327 
 328   // Option flags
 329   static const char*  _gc_log_filename;
 330   // Value of the conservative maximum heap alignment needed
 331   static size_t  _conservative_max_heap_alignment;
 332 
 333   // -Xrun arguments
 334   static AgentLibraryList _libraryList;
 335   static void add_init_library(const char* name, char* options);
 336 
 337   // -agentlib and -agentpath arguments
 338   static AgentLibraryList _agentList;
 339   static void add_init_agent(const char* name, char* options, bool absolute_path);
 340   static void add_instrument_agent(const char* name, char* options, bool absolute_path);
 341 
 342   // Late-binding agents not started via arguments
 343   static void add_loaded_agent(AgentLibrary *agentLib);
 344 


 528   }
 529   // convenient methods to obtain / print jvm_flags and jvm_args
 530   static const char* jvm_flags()           { return build_resource_string(_jvm_flags_array, _num_jvm_flags); }
 531   static const char* jvm_args()            { return build_resource_string(_jvm_args_array, _num_jvm_args); }
 532   static void print_jvm_flags_on(outputStream* st);
 533   static void print_jvm_args_on(outputStream* st);
 534 
 535   // -Dkey=value flags
 536   static SystemProperty*  system_properties()   { return _system_properties; }
 537   static const char*    get_property(const char* key);
 538 
 539   // -Djava.vendor.url.bug
 540   static const char* java_vendor_url_bug()  { return _java_vendor_url_bug; }
 541 
 542   // -Dsun.java.launcher
 543   static const char* sun_java_launcher()    { return _sun_java_launcher; }
 544   // Was VM created by a Java launcher?
 545   static bool created_by_java_launcher();
 546   // -Dsun.java.launcher.is_altjvm
 547   static bool sun_java_launcher_is_altjvm();


 548 
 549   // -Xrun
 550   static AgentLibrary* libraries()          { return _libraryList.first(); }
 551   static bool init_libraries_at_startup()   { return !_libraryList.is_empty(); }
 552   static void convert_library_to_agent(AgentLibrary* lib)
 553                                             { _libraryList.remove(lib);
 554                                               _agentList.add(lib); }
 555 
 556   // -agentlib -agentpath
 557   static AgentLibrary* agents()             { return _agentList.first(); }
 558   static bool init_agents_at_startup()      { return !_agentList.is_empty(); }
 559 
 560   // abort, exit, vfprintf hooks
 561   static abort_hook_t    abort_hook()       { return _abort_hook; }
 562   static exit_hook_t     exit_hook()        { return _exit_hook; }
 563   static vfprintf_hook_t vfprintf_hook()    { return _vfprintf_hook; }
 564 
 565   static const char* GetSharedArchivePath() { return SharedArchivePath; }
 566   static const char* GetSharedDynamicArchivePath() { return SharedDynamicArchivePath; }
 567 


< prev index next >