equal
deleted
inserted
replaced
565 static jint apply_ergo(); |
565 static jint apply_ergo(); |
566 // Adjusts the arguments after the OS have adjusted the arguments |
566 // Adjusts the arguments after the OS have adjusted the arguments |
567 static jint adjust_after_os(); |
567 static jint adjust_after_os(); |
568 |
568 |
569 static void set_gc_specific_flags(); |
569 static void set_gc_specific_flags(); |
570 static inline bool gc_selected(); // whether a gc has been selected |
570 static bool gc_selected(); // whether a gc has been selected |
571 static void select_gc_ergonomically(); |
571 static void select_gc_ergonomically(); |
572 #if INCLUDE_JVMCI |
572 #if INCLUDE_JVMCI |
573 // Check consistency of jvmci vm argument settings. |
573 // Check consistency of jvmci vm argument settings. |
574 static bool check_jvmci_args_consistency(); |
574 static bool check_jvmci_args_consistency(); |
575 #endif |
575 #endif |
730 static bool copy_expand_pid(const char* src, size_t srclen, char* buf, size_t buflen); |
730 static bool copy_expand_pid(const char* src, size_t srclen, char* buf, size_t buflen); |
731 |
731 |
732 static void check_unsupported_dumping_properties() NOT_CDS_RETURN; |
732 static void check_unsupported_dumping_properties() NOT_CDS_RETURN; |
733 }; |
733 }; |
734 |
734 |
735 bool Arguments::gc_selected() { |
|
736 return UseConcMarkSweepGC || UseG1GC || UseParallelGC || UseParallelOldGC || UseSerialGC; |
|
737 } |
|
738 |
|
739 // Disable options not supported in this release, with a warning if they |
735 // Disable options not supported in this release, with a warning if they |
740 // were explicitly requested on the command-line |
736 // were explicitly requested on the command-line |
741 #define UNSUPPORTED_OPTION(opt, description) \ |
737 #define UNSUPPORTED_OPTION(opt, description) \ |
742 do { \ |
738 do { \ |
743 if (opt) { \ |
739 if (opt) { \ |