< prev index next >

src/share/vm/runtime/arguments.hpp

Print this page




 267 
 268   // temporary: to emit warning if the default ext dirs are not empty.
 269   // remove this variable when the warning is no longer needed.
 270   static char* _ext_dirs;
 271 
 272   // java.vendor.url.bug, bug reporting URL for fatal errors.
 273   static const char* _java_vendor_url_bug;
 274 
 275   // sun.java.launcher, private property to provide information about
 276   // java launcher
 277   static const char* _sun_java_launcher;
 278 
 279   // sun.java.launcher.pid, private property
 280   static int    _sun_java_launcher_pid;
 281 
 282   // was this VM created via the -XXaltjvm=<path> option
 283   static bool   _sun_java_launcher_is_altjvm;
 284 
 285   // Option flags
 286   static bool   _has_profile;
 287   static const char*  _gc_log_filename;
 288   // Value of the conservative maximum heap alignment needed
 289   static size_t  _conservative_max_heap_alignment;
 290 
 291   static uintx _min_heap_size;
 292 
 293   // -Xrun arguments
 294   static AgentLibraryList _libraryList;
 295   static void add_init_library(const char* name, char* options)
 296     { _libraryList.add(new AgentLibrary(name, options, false, NULL)); }
 297 
 298   // -agentlib and -agentpath arguments
 299   static AgentLibraryList _agentList;
 300   static void add_init_agent(const char* name, char* options, bool absolute_path)
 301     { _agentList.add(new AgentLibrary(name, options, absolute_path, NULL)); }
 302 
 303   // Late-binding agents not started via arguments
 304   static void add_loaded_agent(AgentLibrary *agentLib)
 305     { _agentList.add(agentLib); }
 306   static void add_loaded_agent(const char* name, char* options, bool absolute_path, void* os_lib)
 307     { _agentList.add(new AgentLibrary(name, options, absolute_path, os_lib)); }


 525   static const char* jvm_flags()           { return build_resource_string(_jvm_flags_array, _num_jvm_flags); }
 526   static const char* jvm_args()            { return build_resource_string(_jvm_args_array, _num_jvm_args); }
 527   static void print_jvm_flags_on(outputStream* st);
 528   static void print_jvm_args_on(outputStream* st);
 529 
 530   // -Dkey=value flags
 531   static SystemProperty*  system_properties()   { return _system_properties; }
 532   static const char*    get_property(const char* key);
 533 
 534   // -Djava.vendor.url.bug
 535   static const char* java_vendor_url_bug()  { return _java_vendor_url_bug; }
 536 
 537   // -Dsun.java.launcher
 538   static const char* sun_java_launcher()    { return _sun_java_launcher; }
 539   // Was VM created by a Java launcher?
 540   static bool created_by_java_launcher();
 541   // -Dsun.java.launcher.is_altjvm
 542   static bool sun_java_launcher_is_altjvm();
 543   // -Dsun.java.launcher.pid
 544   static int sun_java_launcher_pid()        { return _sun_java_launcher_pid; }
 545 
 546   // -Xloggc:<file>, if not specified will be NULL
 547   static const char* gc_log_filename()      { return _gc_log_filename; }
 548 
 549   // -Xprof
 550   static bool has_profile()                 { return _has_profile; }
 551 
 552   // -Xms
 553   static size_t min_heap_size()             { return _min_heap_size; }
 554   static void  set_min_heap_size(size_t v)  { _min_heap_size = v;  }
 555 
 556   // -Xrun
 557   static AgentLibrary* libraries()          { return _libraryList.first(); }
 558   static bool init_libraries_at_startup()   { return !_libraryList.is_empty(); }
 559   static void convert_library_to_agent(AgentLibrary* lib)
 560                                             { _libraryList.remove(lib);
 561                                               _agentList.add(lib); }
 562 
 563   // -agentlib -agentpath
 564   static AgentLibrary* agents()             { return _agentList.first(); }
 565   static bool init_agents_at_startup()      { return !_agentList.is_empty(); }
 566 
 567   // abort, exit, vfprintf hooks




 267 
 268   // temporary: to emit warning if the default ext dirs are not empty.
 269   // remove this variable when the warning is no longer needed.
 270   static char* _ext_dirs;
 271 
 272   // java.vendor.url.bug, bug reporting URL for fatal errors.
 273   static const char* _java_vendor_url_bug;
 274 
 275   // sun.java.launcher, private property to provide information about
 276   // java launcher
 277   static const char* _sun_java_launcher;
 278 
 279   // sun.java.launcher.pid, private property
 280   static int    _sun_java_launcher_pid;
 281 
 282   // was this VM created via the -XXaltjvm=<path> option
 283   static bool   _sun_java_launcher_is_altjvm;
 284 
 285   // Option flags
 286   static bool   _has_profile;

 287   // Value of the conservative maximum heap alignment needed
 288   static size_t  _conservative_max_heap_alignment;
 289 
 290   static uintx _min_heap_size;
 291 
 292   // -Xrun arguments
 293   static AgentLibraryList _libraryList;
 294   static void add_init_library(const char* name, char* options)
 295     { _libraryList.add(new AgentLibrary(name, options, false, NULL)); }
 296 
 297   // -agentlib and -agentpath arguments
 298   static AgentLibraryList _agentList;
 299   static void add_init_agent(const char* name, char* options, bool absolute_path)
 300     { _agentList.add(new AgentLibrary(name, options, absolute_path, NULL)); }
 301 
 302   // Late-binding agents not started via arguments
 303   static void add_loaded_agent(AgentLibrary *agentLib)
 304     { _agentList.add(agentLib); }
 305   static void add_loaded_agent(const char* name, char* options, bool absolute_path, void* os_lib)
 306     { _agentList.add(new AgentLibrary(name, options, absolute_path, os_lib)); }


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



 544 
 545   // -Xprof
 546   static bool has_profile()                 { return _has_profile; }
 547 
 548   // -Xms
 549   static size_t min_heap_size()             { return _min_heap_size; }
 550   static void  set_min_heap_size(size_t v)  { _min_heap_size = v;  }
 551 
 552   // -Xrun
 553   static AgentLibrary* libraries()          { return _libraryList.first(); }
 554   static bool init_libraries_at_startup()   { return !_libraryList.is_empty(); }
 555   static void convert_library_to_agent(AgentLibrary* lib)
 556                                             { _libraryList.remove(lib);
 557                                               _agentList.add(lib); }
 558 
 559   // -agentlib -agentpath
 560   static AgentLibrary* agents()             { return _agentList.first(); }
 561   static bool init_agents_at_startup()      { return !_agentList.is_empty(); }
 562 
 563   // abort, exit, vfprintf hooks


< prev index next >