hotspot/src/share/vm/runtime/arguments.hpp
changeset 37253 45e69c7b0bac
parent 37216 5555c1f804c4
child 37466 287c4ebd11b0
equal deleted inserted replaced
37252:d9b7f60c0b98 37253:45e69c7b0bac
   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 // 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
   736 // were explicitly requested on the command-line
   736 // were explicitly requested on the command-line
   737 #define UNSUPPORTED_OPTION(opt, description)                    \
   737 #define UNSUPPORTED_OPTION(opt)                          \
   738 do {                                                            \
   738 do {                                                     \
   739   if (opt) {                                                    \
   739   if (opt) {                                             \
   740     if (FLAG_IS_CMDLINE(opt)) {                                 \
   740     if (FLAG_IS_CMDLINE(opt)) {                          \
   741       warning(description " is disabled in this release.");     \
   741       warning("-XX:+" #opt " not supported in this VM"); \
   742     }                                                           \
   742     }                                                    \
   743     FLAG_SET_DEFAULT(opt, false);                               \
   743     FLAG_SET_DEFAULT(opt, false);                        \
   744   }                                                             \
   744   }                                                      \
   745 } while(0)
   745 } while(0)
   746 
   746 
   747 #endif // SHARE_VM_RUNTIME_ARGUMENTS_HPP
   747 #endif // SHARE_VM_RUNTIME_ARGUMENTS_HPP