hotspot/src/share/vm/runtime/arguments.hpp
changeset 28838 da47c3cc5c98
parent 28650 772aaab2582f
child 29076 4a5f7c1e6ed7
equal deleted inserted replaced
28837:fda2ab610119 28838:da47c3cc5c98
   630 
   630 
   631 bool Arguments::check_gc_consistency_ergo() {
   631 bool Arguments::check_gc_consistency_ergo() {
   632   return check_gc_consistency_user();
   632   return check_gc_consistency_user();
   633 }
   633 }
   634 
   634 
       
   635 // Disable options not supported in this release, with a warning if they
       
   636 // were explicitly requested on the command-line
       
   637 #define UNSUPPORTED_OPTION(opt, description)                    \
       
   638 do {                                                            \
       
   639   if (opt) {                                                    \
       
   640     if (FLAG_IS_CMDLINE(opt)) {                                 \
       
   641       warning(description " is disabled in this release.");     \
       
   642     }                                                           \
       
   643     FLAG_SET_DEFAULT(opt, false);                               \
       
   644   }                                                             \
       
   645 } while(0)
       
   646 
   635 #endif // SHARE_VM_RUNTIME_ARGUMENTS_HPP
   647 #endif // SHARE_VM_RUNTIME_ARGUMENTS_HPP