hotspot/src/share/vm/oops/instanceKlass.cpp
changeset 25500 4d2e06147d1e
parent 25492 d27050bdfb04
child 26135 82b516c550f7
equal deleted inserted replaced
25492:d27050bdfb04 25500:4d2e06147d1e
  1949   nmethodBucket* b = _dependencies;
  1949   nmethodBucket* b = _dependencies;
  1950   while (b != NULL) {
  1950   while (b != NULL) {
  1951     if (nm == b->get_nmethod()) {
  1951     if (nm == b->get_nmethod()) {
  1952 #ifdef ASSERT
  1952 #ifdef ASSERT
  1953       int count = b->count();
  1953       int count = b->count();
  1954       assert(count >= 0, "Just check if we ever get here 1");
  1954       assert(count >= 0, err_msg("count shouldn't be negative: %d", count));
  1955       assert(count > 0,  "Just check if we ever get here 2");
       
  1956 #endif
  1955 #endif
  1957       return true;
  1956       return true;
  1958     }
  1957     }
  1959     b = b->next();
  1958     b = b->next();
  1960   }
  1959   }