equal
deleted
inserted
replaced
482 static const char* handle_aliases_and_deprecation(const char* arg, bool warn); |
482 static const char* handle_aliases_and_deprecation(const char* arg, bool warn); |
483 static bool lookup_logging_aliases(const char* arg, char* buffer); |
483 static bool lookup_logging_aliases(const char* arg, char* buffer); |
484 static AliasedLoggingFlag catch_logging_aliases(const char* name, bool on); |
484 static AliasedLoggingFlag catch_logging_aliases(const char* name, bool on); |
485 |
485 |
486 static char* SharedArchivePath; |
486 static char* SharedArchivePath; |
|
487 static char* SharedDynamicArchivePath; |
|
488 static int num_archives(const char* archive_path) NOT_CDS_RETURN_(0); |
|
489 static void extract_shared_archive_paths(const char* archive_path, |
|
490 char** base_archive_path, |
|
491 char** top_archive_path) NOT_CDS_RETURN; |
487 |
492 |
488 public: |
493 public: |
489 // Parses the arguments, first phase |
494 // Parses the arguments, first phase |
490 static jint parse(const JavaVMInitArgs* args); |
495 static jint parse(const JavaVMInitArgs* args); |
491 // Apply ergonomics |
496 // Apply ergonomics |
561 static abort_hook_t abort_hook() { return _abort_hook; } |
566 static abort_hook_t abort_hook() { return _abort_hook; } |
562 static exit_hook_t exit_hook() { return _exit_hook; } |
567 static exit_hook_t exit_hook() { return _exit_hook; } |
563 static vfprintf_hook_t vfprintf_hook() { return _vfprintf_hook; } |
568 static vfprintf_hook_t vfprintf_hook() { return _vfprintf_hook; } |
564 |
569 |
565 static const char* GetSharedArchivePath() { return SharedArchivePath; } |
570 static const char* GetSharedArchivePath() { return SharedArchivePath; } |
|
571 static const char* GetSharedDynamicArchivePath() { return SharedDynamicArchivePath; } |
566 |
572 |
567 // Java launcher properties |
573 // Java launcher properties |
568 static void process_sun_java_launcher_properties(JavaVMInitArgs* args); |
574 static void process_sun_java_launcher_properties(JavaVMInitArgs* args); |
569 |
575 |
570 // System properties |
576 // System properties |
623 static char* get_dll_dir() { return _sun_boot_library_path->value(); } |
629 static char* get_dll_dir() { return _sun_boot_library_path->value(); } |
624 static char* get_ext_dirs() { return _ext_dirs; } |
630 static char* get_ext_dirs() { return _ext_dirs; } |
625 static char* get_appclasspath() { return _java_class_path->value(); } |
631 static char* get_appclasspath() { return _java_class_path->value(); } |
626 static void fix_appclasspath(); |
632 static void fix_appclasspath(); |
627 |
633 |
628 static char* get_default_shared_archive_path(); |
634 static char* get_default_shared_archive_path() NOT_CDS_RETURN_(NULL); |
|
635 static bool init_shared_archive_paths() NOT_CDS_RETURN_(false); |
629 |
636 |
630 // Operation modi |
637 // Operation modi |
631 static Mode mode() { return _mode; } |
638 static Mode mode() { return _mode; } |
632 static bool is_interpreter_only() { return mode() == _int; } |
639 static bool is_interpreter_only() { return mode() == _int; } |
633 |
640 |