< prev index next >

src/share/vm/runtime/arguments.hpp

Print this page

        

*** 506,516 **** static jint apply_ergo(); // Adjusts the arguments after the OS have adjusted the arguments static jint adjust_after_os(); static void set_gc_specific_flags(); ! static inline bool gc_selected(); // whether a gc has been selected static void select_gc_ergonomically(); #if INCLUDE_JVMCI // Check consistency of jvmci vm argument settings. static bool check_jvmci_args_consistency(); #endif --- 506,516 ---- static jint apply_ergo(); // Adjusts the arguments after the OS have adjusted the arguments static jint adjust_after_os(); static void set_gc_specific_flags(); ! static bool gc_selected(); // whether a gc has been selected static void select_gc_ergonomically(); #if INCLUDE_JVMCI // Check consistency of jvmci vm argument settings. static bool check_jvmci_args_consistency(); #endif
*** 648,668 **** // Utility: copies src into buf, replacing "%%" with "%" and "%p" with pid. static bool copy_expand_pid(const char* src, size_t srclen, char* buf, size_t buflen); }; - bool Arguments::gc_selected() { - return UseConcMarkSweepGC || UseG1GC || UseParallelGC || UseParallelOldGC || UseSerialGC; - } - // Disable options not supported in this release, with a warning if they // were explicitly requested on the command-line ! #define UNSUPPORTED_OPTION(opt, description) \ do { \ if (opt) { \ if (FLAG_IS_CMDLINE(opt)) { \ ! warning(description " is disabled in this release."); \ } \ FLAG_SET_DEFAULT(opt, false); \ } \ } while(0) --- 648,664 ---- // Utility: copies src into buf, replacing "%%" with "%" and "%p" with pid. static bool copy_expand_pid(const char* src, size_t srclen, char* buf, size_t buflen); }; // Disable options not supported in this release, with a warning if they // were explicitly requested on the command-line ! #define UNSUPPORTED_OPTION(opt) \ do { \ if (opt) { \ if (FLAG_IS_CMDLINE(opt)) { \ ! warning("-XX:+" #opt " not supported in this VM"); \ } \ FLAG_SET_DEFAULT(opt, false); \ } \ } while(0)
< prev index next >