712 set_jdkbootclasspath_append(); 713 } 714 715 static char* get_java_home() { return _java_home->value(); } 716 static char* get_dll_dir() { return _sun_boot_library_path->value(); } 717 static char* get_sysclasspath() { return _system_boot_class_path->value(); } 718 static char* get_ext_dirs() { return _ext_dirs; } 719 static char* get_appclasspath() { return _java_class_path->value(); } 720 static void fix_appclasspath(); 721 722 723 // Operation modi 724 static Mode mode() { return _mode; } 725 static bool is_interpreter_only() { return mode() == _int; } 726 727 728 // Utility: copies src into buf, replacing "%%" with "%" and "%p" with pid. 729 static bool copy_expand_pid(const char* src, size_t srclen, char* buf, size_t buflen); 730 731 static void check_unsupported_dumping_properties() NOT_CDS_RETURN; 732 }; 733 734 // Disable options not supported in this release, with a warning if they 735 // were explicitly requested on the command-line 736 #define UNSUPPORTED_OPTION(opt) \ 737 do { \ 738 if (opt) { \ 739 if (FLAG_IS_CMDLINE(opt)) { \ 740 warning("-XX:+" #opt " not supported in this VM"); \ 741 } \ 742 FLAG_SET_DEFAULT(opt, false); \ 743 } \ 744 } while(0) 745 746 #endif // SHARE_VM_RUNTIME_ARGUMENTS_HPP | 712 set_jdkbootclasspath_append(); 713 } 714 715 static char* get_java_home() { return _java_home->value(); } 716 static char* get_dll_dir() { return _sun_boot_library_path->value(); } 717 static char* get_sysclasspath() { return _system_boot_class_path->value(); } 718 static char* get_ext_dirs() { return _ext_dirs; } 719 static char* get_appclasspath() { return _java_class_path->value(); } 720 static void fix_appclasspath(); 721 722 723 // Operation modi 724 static Mode mode() { return _mode; } 725 static bool is_interpreter_only() { return mode() == _int; } 726 727 728 // Utility: copies src into buf, replacing "%%" with "%" and "%p" with pid. 729 static bool copy_expand_pid(const char* src, size_t srclen, char* buf, size_t buflen); 730 731 static void check_unsupported_dumping_properties() NOT_CDS_RETURN; 732 733 static bool atojulong(const char *s, julong* result); 734 }; 735 736 // Disable options not supported in this release, with a warning if they 737 // were explicitly requested on the command-line 738 #define UNSUPPORTED_OPTION(opt) \ 739 do { \ 740 if (opt) { \ 741 if (FLAG_IS_CMDLINE(opt)) { \ 742 warning("-XX:+" #opt " not supported in this VM"); \ 743 } \ 744 FLAG_SET_DEFAULT(opt, false); \ 745 } \ 746 } while(0) 747 748 #endif // SHARE_VM_RUNTIME_ARGUMENTS_HPP |