equal
deleted
inserted
replaced
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 { |