477 static const char* get_property(const char* key);
478
479 // -Djava.vendor.url.bug
480 static const char* java_vendor_url_bug() { return _java_vendor_url_bug; }
481
482 // -Dsun.java.launcher
483 static const char* sun_java_launcher() { return _sun_java_launcher; }
484 // Was VM created by a Java launcher?
485 static bool created_by_java_launcher();
486 // Was VM created by the gamma Java launcher?
487 static bool created_by_gamma_launcher();
488 // -Dsun.java.launcher.pid
489 static int sun_java_launcher_pid() { return _sun_java_launcher_pid; }
490
491 // -Xloggc:<file>, if not specified will be NULL
492 static const char* gc_log_filename() { return _gc_log_filename; }
493
494 // -Xprof
495 static bool has_profile() { return _has_profile; }
496
497 // -Xms, -Xmx
498 static uintx min_heap_size() { return _min_heap_size; }
499 static void set_min_heap_size(uintx v) { _min_heap_size = v; }
500
501 // -Xrun
502 static AgentLibrary* libraries() { return _libraryList.first(); }
503 static bool init_libraries_at_startup() { return !_libraryList.is_empty(); }
504 static void convert_library_to_agent(AgentLibrary* lib)
505 { _libraryList.remove(lib);
506 _agentList.add(lib); }
507
508 // -agentlib -agentpath
509 static AgentLibrary* agents() { return _agentList.first(); }
510 static bool init_agents_at_startup() { return !_agentList.is_empty(); }
511
512 // abort, exit, vfprintf hooks
513 static abort_hook_t abort_hook() { return _abort_hook; }
514 static exit_hook_t exit_hook() { return _exit_hook; }
515 static vfprintf_hook_t vfprintf_hook() { return _vfprintf_hook; }
516
517 static bool GetCheckCompileOnly () { return CheckCompileOnly; }
|
477 static const char* get_property(const char* key);
478
479 // -Djava.vendor.url.bug
480 static const char* java_vendor_url_bug() { return _java_vendor_url_bug; }
481
482 // -Dsun.java.launcher
483 static const char* sun_java_launcher() { return _sun_java_launcher; }
484 // Was VM created by a Java launcher?
485 static bool created_by_java_launcher();
486 // Was VM created by the gamma Java launcher?
487 static bool created_by_gamma_launcher();
488 // -Dsun.java.launcher.pid
489 static int sun_java_launcher_pid() { return _sun_java_launcher_pid; }
490
491 // -Xloggc:<file>, if not specified will be NULL
492 static const char* gc_log_filename() { return _gc_log_filename; }
493
494 // -Xprof
495 static bool has_profile() { return _has_profile; }
496
497 // -Xms
498 static uintx min_heap_size() { return _min_heap_size; }
499 static void set_min_heap_size(uintx v) { _min_heap_size = v; }
500
501 // -Xrun
502 static AgentLibrary* libraries() { return _libraryList.first(); }
503 static bool init_libraries_at_startup() { return !_libraryList.is_empty(); }
504 static void convert_library_to_agent(AgentLibrary* lib)
505 { _libraryList.remove(lib);
506 _agentList.add(lib); }
507
508 // -agentlib -agentpath
509 static AgentLibrary* agents() { return _agentList.first(); }
510 static bool init_agents_at_startup() { return !_agentList.is_empty(); }
511
512 // abort, exit, vfprintf hooks
513 static abort_hook_t abort_hook() { return _abort_hook; }
514 static exit_hook_t exit_hook() { return _exit_hook; }
515 static vfprintf_hook_t vfprintf_hook() { return _vfprintf_hook; }
516
517 static bool GetCheckCompileOnly () { return CheckCompileOnly; }
|