src/hotspot/share/runtime/flags/jvmFlag.cpp
changeset 51070 2f4c3cac8556
parent 50708 bd3a8f48597e
child 54982 b18c8301b8c2
equal deleted inserted replaced
51069:d5d5f6658b12 51070:2f4c3cac8556
   937       max_score = score;
   937       max_score = score;
   938       match = current;
   938       match = current;
   939     }
   939     }
   940   }
   940   }
   941 
   941 
       
   942   if (match == NULL) {
       
   943     return NULL;
       
   944   }
       
   945 
   942   if (!(match->is_unlocked() || match->is_unlocker())) {
   946   if (!(match->is_unlocked() || match->is_unlocker())) {
   943     if (!allow_locked) {
   947     if (!allow_locked) {
   944       return NULL;
   948       return NULL;
   945     }
   949     }
   946   }
   950   }