646
647 static void check_unsupported_dumping_properties() NOT_CDS_RETURN;
648
649 static bool check_unsupported_cds_runtime_properties() NOT_CDS_RETURN0;
650
651 static bool atojulong(const char *s, julong* result);
652 };
653
654 // Disable options not supported in this release, with a warning if they
655 // were explicitly requested on the command-line
656 #define UNSUPPORTED_OPTION(opt) \
657 do { \
658 if (opt) { \
659 if (FLAG_IS_CMDLINE(opt)) { \
660 warning("-XX:+" #opt " not supported in this VM"); \
661 } \
662 FLAG_SET_DEFAULT(opt, false); \
663 } \
664 } while(0)
665
666 #endif // SHARE_RUNTIME_ARGUMENTS_HPP
|
646
647 static void check_unsupported_dumping_properties() NOT_CDS_RETURN;
648
649 static bool check_unsupported_cds_runtime_properties() NOT_CDS_RETURN0;
650
651 static bool atojulong(const char *s, julong* result);
652 };
653
654 // Disable options not supported in this release, with a warning if they
655 // were explicitly requested on the command-line
656 #define UNSUPPORTED_OPTION(opt) \
657 do { \
658 if (opt) { \
659 if (FLAG_IS_CMDLINE(opt)) { \
660 warning("-XX:+" #opt " not supported in this VM"); \
661 } \
662 FLAG_SET_DEFAULT(opt, false); \
663 } \
664 } while(0)
665
666 // similar to UNSUPPORTED_OPTION but sets flag to NULL
667 #define UNSUPPORTED_OPTION_NULL(opt) \
668 do { \
669 if (opt) { \
670 if (FLAG_IS_CMDLINE(opt)) { \
671 warning("-XX flag " #opt " not supported in this VM"); \
672 } \
673 FLAG_SET_DEFAULT(opt, NULL); \
674 } \
675 } while(0)
676
677
678 #endif // SHARE_RUNTIME_ARGUMENTS_HPP
|