changeset 29462 | f2e2922222a4 |
parent 28953 | 75f0bfa6ea14 |
child 46489 | 40abcea5a9d5 |
--- a/hotspot/src/share/vm/services/mallocSiteTable.cpp Mon Mar 09 13:39:24 2015 -0400 +++ b/hotspot/src/share/vm/services/mallocSiteTable.cpp Tue Mar 10 04:53:58 2015 -0700 @@ -135,8 +135,7 @@ */ MallocSite* MallocSiteTable::lookup_or_add(const NativeCallStack& key, size_t* bucket_idx, size_t* pos_idx) { - int index = hash_to_index(key.hash()); - assert(index >= 0, err_msg("Negative index %d", index)); + unsigned int index = hash_to_index(key.hash()); *bucket_idx = (size_t)index; *pos_idx = 0;