680 static char* get_jdk_boot_class_path_append() { return _jdk_boot_class_path_append->value(); }
681 static bool has_jimage() { return _has_jimage; }
682
683 static char* get_java_home() { return _java_home->value(); }
684 static char* get_dll_dir() { return _sun_boot_library_path->value(); }
685 static char* get_ext_dirs() { return _ext_dirs; }
686 static char* get_appclasspath() { return _java_class_path->value(); }
687 static void fix_appclasspath();
688
689
690 // Operation modi
691 static Mode mode() { return _mode; }
692 static bool is_interpreter_only() { return mode() == _int; }
693
694
695 // Utility: copies src into buf, replacing "%%" with "%" and "%p" with pid.
696 static bool copy_expand_pid(const char* src, size_t srclen, char* buf, size_t buflen);
697
698 static void check_unsupported_dumping_properties() NOT_CDS_RETURN;
699
700 static bool atojulong(const char *s, julong* result);
701 };
702
703 // Disable options not supported in this release, with a warning if they
704 // were explicitly requested on the command-line
705 #define UNSUPPORTED_OPTION(opt) \
706 do { \
707 if (opt) { \
708 if (FLAG_IS_CMDLINE(opt)) { \
709 warning("-XX:+" #opt " not supported in this VM"); \
710 } \
711 FLAG_SET_DEFAULT(opt, false); \
712 } \
713 } while(0)
714
715 #endif // SHARE_VM_RUNTIME_ARGUMENTS_HPP
|
680 static char* get_jdk_boot_class_path_append() { return _jdk_boot_class_path_append->value(); }
681 static bool has_jimage() { return _has_jimage; }
682
683 static char* get_java_home() { return _java_home->value(); }
684 static char* get_dll_dir() { return _sun_boot_library_path->value(); }
685 static char* get_ext_dirs() { return _ext_dirs; }
686 static char* get_appclasspath() { return _java_class_path->value(); }
687 static void fix_appclasspath();
688
689
690 // Operation modi
691 static Mode mode() { return _mode; }
692 static bool is_interpreter_only() { return mode() == _int; }
693
694
695 // Utility: copies src into buf, replacing "%%" with "%" and "%p" with pid.
696 static bool copy_expand_pid(const char* src, size_t srclen, char* buf, size_t buflen);
697
698 static void check_unsupported_dumping_properties() NOT_CDS_RETURN;
699
700 static bool check_unsupported_cds_runtime_properties() NOT_CDS_RETURN;
701
702 static bool atojulong(const char *s, julong* result);
703 };
704
705 // Disable options not supported in this release, with a warning if they
706 // were explicitly requested on the command-line
707 #define UNSUPPORTED_OPTION(opt) \
708 do { \
709 if (opt) { \
710 if (FLAG_IS_CMDLINE(opt)) { \
711 warning("-XX:+" #opt " not supported in this VM"); \
712 } \
713 FLAG_SET_DEFAULT(opt, false); \
714 } \
715 } while(0)
716
717 #endif // SHARE_VM_RUNTIME_ARGUMENTS_HPP
|