hotspot/src/share/vm/runtime/globals.cpp
changeset 27166 4ce0d93a8287
parent 25959 6c11a6272b60
child 27417 576e2b527e1c
equal deleted inserted replaced
27157:364276bc8d8b 27166:4ce0d93a8287
   252   }
   252   }
   253   if (is_experimental()) {
   253   if (is_experimental()) {
   254     return UnlockExperimentalVMOptions;
   254     return UnlockExperimentalVMOptions;
   255   }
   255   }
   256   return is_unlocked_ext();
   256   return is_unlocked_ext();
       
   257 }
       
   258 
       
   259 void Flag::unlock_diagnostic() {
       
   260   assert(is_diagnostic(), "sanity");
       
   261   _flags = Flags(_flags & ~KIND_DIAGNOSTIC);
   257 }
   262 }
   258 
   263 
   259 // Get custom message for this locked flag, or return NULL if
   264 // Get custom message for this locked flag, or return NULL if
   260 // none is available.
   265 // none is available.
   261 void Flag::get_locked_message(char* buf, int buflen) const {
   266 void Flag::get_locked_message(char* buf, int buflen) const {