src/share/vm/services/mallocSiteTable.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/services/mallocSiteTable.cpp	Mon Feb  9 11:39:11 2015
--- new/src/share/vm/services/mallocSiteTable.cpp	Mon Feb  9 11:39:11 2015

*** 134,144 **** --- 134,144 ---- * Under any of above circumstances, caller should handle the situation. */ 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, "Negative index"); ! assert(index >= 0, err_msg("Negative index %d", index)); *bucket_idx = (size_t)index; *pos_idx = 0; // First entry for this hash bucket if (_table[index] == NULL) {

src/share/vm/services/mallocSiteTable.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File