@@ -326,10 +326,6 @@ bool JVMFlag::is_read_write() const {
326326 return (_flags & KIND_READ_WRITE ) != 0 ;
327327}
328328
329- bool JVMFlag::is_commercial () const {
330- return (_flags & KIND_COMMERCIAL ) != 0 ;
331- }
332-
333329/* *
334330 * Returns if this flag is a constant in the binary. Right now this is
335331 * true for notproduct and develop flags in product builds.
@@ -642,7 +638,6 @@ void JVMFlag::print_kind(outputStream* st, unsigned int width) {
642638 { KIND_MANAGEABLE , " manageable" },
643639 { KIND_DIAGNOSTIC , " diagnostic" },
644640 { KIND_EXPERIMENTAL , " experimental" },
645- { KIND_COMMERCIAL , " commercial" },
646641 { KIND_NOT_PRODUCT , " notproduct" },
647642 { KIND_DEVELOP , " develop" },
648643 { KIND_LP64_PRODUCT , " lp64_product" },
@@ -911,7 +906,7 @@ JVMFlag* JVMFlag::find_flag(const char* name, size_t length, bool allow_locked,
911906 if (!(current->is_unlocked () || current->is_unlocker ())) {
912907 if (!allow_locked) {
913908 // disable use of locked flags, e.g. diagnostic, experimental,
914- // commercial.. . until they are explicitly unlocked
909+ // etc . until they are explicitly unlocked
915910 return NULL ;
916911 }
917912 }
0 commit comments