< prev index next >

src/share/vm/runtime/arguments.hpp

Print this page




 271   static const char* _java_vendor_url_bug;
 272 
 273   // sun.java.launcher, private property to provide information about
 274   // java launcher
 275   static const char* _sun_java_launcher;
 276 
 277   // sun.java.launcher.pid, private property
 278   static int    _sun_java_launcher_pid;
 279 
 280   // was this VM created via the -XXaltjvm=<path> option
 281   static bool   _sun_java_launcher_is_altjvm;
 282 
 283   // Option flags
 284   static bool   _has_profile;
 285   static const char*  _gc_log_filename;
 286   // Value of the conservative maximum heap alignment needed
 287   static size_t  _conservative_max_heap_alignment;
 288 
 289   static uintx _min_heap_size;
 290 
 291   // Used to store original flag values
 292   static uintx _min_heap_free_ratio;
 293   static uintx _max_heap_free_ratio;
 294 
 295   // -Xrun arguments
 296   static AgentLibraryList _libraryList;
 297   static void add_init_library(const char* name, char* options)
 298     { _libraryList.add(new AgentLibrary(name, options, false, NULL)); }
 299 
 300   // -agentlib and -agentpath arguments
 301   static AgentLibraryList _agentList;
 302   static void add_init_agent(const char* name, char* options, bool absolute_path)
 303     { _agentList.add(new AgentLibrary(name, options, absolute_path, NULL)); }
 304 
 305   // Late-binding agents not started via arguments
 306   static void add_loaded_agent(AgentLibrary *agentLib)
 307     { _agentList.add(agentLib); }
 308   static void add_loaded_agent(const char* name, char* options, bool absolute_path, void* os_lib)
 309     { _agentList.add(new AgentLibrary(name, options, absolute_path, os_lib)); }
 310 
 311   // Operation modi
 312   static Mode _mode;
 313   static void set_mode_flags(Mode mode);
 314   static bool _java_compiler;


 509 
 510   // -Dsun.java.launcher
 511   static const char* sun_java_launcher()    { return _sun_java_launcher; }
 512   // Was VM created by a Java launcher?
 513   static bool created_by_java_launcher();
 514   // -Dsun.java.launcher.is_altjvm
 515   static bool sun_java_launcher_is_altjvm();
 516   // -Dsun.java.launcher.pid
 517   static int sun_java_launcher_pid()        { return _sun_java_launcher_pid; }
 518 
 519   // -Xloggc:<file>, if not specified will be NULL
 520   static const char* gc_log_filename()      { return _gc_log_filename; }
 521 
 522   // -Xprof
 523   static bool has_profile()                 { return _has_profile; }
 524 
 525   // -Xms
 526   static size_t min_heap_size()             { return _min_heap_size; }
 527   static void  set_min_heap_size(size_t v)  { _min_heap_size = v;  }
 528 
 529   // Returns the original values of -XX:MinHeapFreeRatio and -XX:MaxHeapFreeRatio
 530   static uintx min_heap_free_ratio()        { return _min_heap_free_ratio; }
 531   static uintx max_heap_free_ratio()        { return _max_heap_free_ratio; }
 532 
 533   // -Xrun
 534   static AgentLibrary* libraries()          { return _libraryList.first(); }
 535   static bool init_libraries_at_startup()   { return !_libraryList.is_empty(); }
 536   static void convert_library_to_agent(AgentLibrary* lib)
 537                                             { _libraryList.remove(lib);
 538                                               _agentList.add(lib); }
 539 
 540   // -agentlib -agentpath
 541   static AgentLibrary* agents()             { return _agentList.first(); }
 542   static bool init_agents_at_startup()      { return !_agentList.is_empty(); }
 543 
 544   // abort, exit, vfprintf hooks
 545   static abort_hook_t    abort_hook()       { return _abort_hook; }
 546   static exit_hook_t     exit_hook()        { return _exit_hook; }
 547   static vfprintf_hook_t vfprintf_hook()    { return _vfprintf_hook; }
 548 
 549   static bool GetCheckCompileOnly ()        { return CheckCompileOnly; }
 550 
 551   static const char* GetSharedArchivePath() { return SharedArchivePath; }
 552 




 271   static const char* _java_vendor_url_bug;
 272 
 273   // sun.java.launcher, private property to provide information about
 274   // java launcher
 275   static const char* _sun_java_launcher;
 276 
 277   // sun.java.launcher.pid, private property
 278   static int    _sun_java_launcher_pid;
 279 
 280   // was this VM created via the -XXaltjvm=<path> option
 281   static bool   _sun_java_launcher_is_altjvm;
 282 
 283   // Option flags
 284   static bool   _has_profile;
 285   static const char*  _gc_log_filename;
 286   // Value of the conservative maximum heap alignment needed
 287   static size_t  _conservative_max_heap_alignment;
 288 
 289   static uintx _min_heap_size;
 290 




 291   // -Xrun arguments
 292   static AgentLibraryList _libraryList;
 293   static void add_init_library(const char* name, char* options)
 294     { _libraryList.add(new AgentLibrary(name, options, false, NULL)); }
 295 
 296   // -agentlib and -agentpath arguments
 297   static AgentLibraryList _agentList;
 298   static void add_init_agent(const char* name, char* options, bool absolute_path)
 299     { _agentList.add(new AgentLibrary(name, options, absolute_path, NULL)); }
 300 
 301   // Late-binding agents not started via arguments
 302   static void add_loaded_agent(AgentLibrary *agentLib)
 303     { _agentList.add(agentLib); }
 304   static void add_loaded_agent(const char* name, char* options, bool absolute_path, void* os_lib)
 305     { _agentList.add(new AgentLibrary(name, options, absolute_path, os_lib)); }
 306 
 307   // Operation modi
 308   static Mode _mode;
 309   static void set_mode_flags(Mode mode);
 310   static bool _java_compiler;


 505 
 506   // -Dsun.java.launcher
 507   static const char* sun_java_launcher()    { return _sun_java_launcher; }
 508   // Was VM created by a Java launcher?
 509   static bool created_by_java_launcher();
 510   // -Dsun.java.launcher.is_altjvm
 511   static bool sun_java_launcher_is_altjvm();
 512   // -Dsun.java.launcher.pid
 513   static int sun_java_launcher_pid()        { return _sun_java_launcher_pid; }
 514 
 515   // -Xloggc:<file>, if not specified will be NULL
 516   static const char* gc_log_filename()      { return _gc_log_filename; }
 517 
 518   // -Xprof
 519   static bool has_profile()                 { return _has_profile; }
 520 
 521   // -Xms
 522   static size_t min_heap_size()             { return _min_heap_size; }
 523   static void  set_min_heap_size(size_t v)  { _min_heap_size = v;  }
 524 




 525   // -Xrun
 526   static AgentLibrary* libraries()          { return _libraryList.first(); }
 527   static bool init_libraries_at_startup()   { return !_libraryList.is_empty(); }
 528   static void convert_library_to_agent(AgentLibrary* lib)
 529                                             { _libraryList.remove(lib);
 530                                               _agentList.add(lib); }
 531 
 532   // -agentlib -agentpath
 533   static AgentLibrary* agents()             { return _agentList.first(); }
 534   static bool init_agents_at_startup()      { return !_agentList.is_empty(); }
 535 
 536   // abort, exit, vfprintf hooks
 537   static abort_hook_t    abort_hook()       { return _abort_hook; }
 538   static exit_hook_t     exit_hook()        { return _exit_hook; }
 539   static vfprintf_hook_t vfprintf_hook()    { return _vfprintf_hook; }
 540 
 541   static bool GetCheckCompileOnly ()        { return CheckCompileOnly; }
 542 
 543   static const char* GetSharedArchivePath() { return SharedArchivePath; }
 544 


< prev index next >