hotspot/src/share/vm/services/mallocSiteTable.cpp
changeset 28953 75f0bfa6ea14
parent 25946 1572c9f03fb9
child 29462 f2e2922222a4
--- a/hotspot/src/share/vm/services/mallocSiteTable.cpp	Tue Feb 10 16:53:00 2015 +0000
+++ b/hotspot/src/share/vm/services/mallocSiteTable.cpp	Tue Feb 10 15:10:47 2015 -0500
@@ -136,7 +136,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, "Negative index");
+  assert(index >= 0, err_msg("Negative index %d", index));
   *bucket_idx = (size_t)index;
   *pos_idx = 0;