src/hotspot/share/runtime/arguments.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File open Sdiff src/hotspot/share/runtime

src/hotspot/share/runtime/arguments.hpp

Print this page
rev 49650 : [mq]: module_path


 686   static char* get_java_home()    { return _java_home->value(); }
 687   static char* get_dll_dir()      { return _sun_boot_library_path->value(); }
 688   static char* get_ext_dirs()     { return _ext_dirs;  }
 689   static char* get_appclasspath() { return _java_class_path->value(); }
 690   static void  fix_appclasspath();
 691 
 692 
 693   // Operation modi
 694   static Mode mode()                        { return _mode; }
 695   static bool is_interpreter_only() { return mode() == _int; }
 696 
 697   // preview features
 698   static void set_enable_preview() { _enable_preview = true; }
 699   static bool enable_preview() { return _enable_preview; }
 700 
 701   // Utility: copies src into buf, replacing "%%" with "%" and "%p" with pid.
 702   static bool copy_expand_pid(const char* src, size_t srclen, char* buf, size_t buflen);
 703 
 704   static void check_unsupported_dumping_properties() NOT_CDS_RETURN;
 705 


 706   static bool atojulong(const char *s, julong* result);
 707 };
 708 
 709 // Disable options not supported in this release, with a warning if they
 710 // were explicitly requested on the command-line
 711 #define UNSUPPORTED_OPTION(opt)                          \
 712 do {                                                     \
 713   if (opt) {                                             \
 714     if (FLAG_IS_CMDLINE(opt)) {                          \
 715       warning("-XX:+" #opt " not supported in this VM"); \
 716     }                                                    \
 717     FLAG_SET_DEFAULT(opt, false);                        \
 718   }                                                      \
 719 } while(0)
 720 
 721 #endif // SHARE_VM_RUNTIME_ARGUMENTS_HPP


 686   static char* get_java_home()    { return _java_home->value(); }
 687   static char* get_dll_dir()      { return _sun_boot_library_path->value(); }
 688   static char* get_ext_dirs()     { return _ext_dirs;  }
 689   static char* get_appclasspath() { return _java_class_path->value(); }
 690   static void  fix_appclasspath();
 691 
 692 
 693   // Operation modi
 694   static Mode mode()                        { return _mode; }
 695   static bool is_interpreter_only() { return mode() == _int; }
 696 
 697   // preview features
 698   static void set_enable_preview() { _enable_preview = true; }
 699   static bool enable_preview() { return _enable_preview; }
 700 
 701   // Utility: copies src into buf, replacing "%%" with "%" and "%p" with pid.
 702   static bool copy_expand_pid(const char* src, size_t srclen, char* buf, size_t buflen);
 703 
 704   static void check_unsupported_dumping_properties() NOT_CDS_RETURN;
 705 
 706   static bool check_unsupported_cds_runtime_properties() NOT_CDS_RETURN;
 707 
 708   static bool atojulong(const char *s, julong* result);
 709 };
 710 
 711 // Disable options not supported in this release, with a warning if they
 712 // were explicitly requested on the command-line
 713 #define UNSUPPORTED_OPTION(opt)                          \
 714 do {                                                     \
 715   if (opt) {                                             \
 716     if (FLAG_IS_CMDLINE(opt)) {                          \
 717       warning("-XX:+" #opt " not supported in this VM"); \
 718     }                                                    \
 719     FLAG_SET_DEFAULT(opt, false);                        \
 720   }                                                      \
 721 } while(0)
 722 
 723 #endif // SHARE_VM_RUNTIME_ARGUMENTS_HPP
src/hotspot/share/runtime/arguments.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File