hotspot/src/share/vm/services/memTracker.cpp
changeset 13859 7fe4578493fc
parent 13478 85fe611440e5
child 13872 bbee2239e884
--- a/hotspot/src/share/vm/services/memTracker.cpp	Mon Sep 17 11:46:19 2012 +0200
+++ b/hotspot/src/share/vm/services/memTracker.cpp	Mon Sep 17 10:20:04 2012 -0400
@@ -341,6 +341,7 @@
  */
 void MemTracker::create_memory_record(address addr, MEMFLAGS flags,
     size_t size, address pc, Thread* thread) {
+  assert(addr != NULL, "Sanity check");
   if (!shutdown_in_progress()) {
     // single thread, we just write records direct to global recorder,'
     // with any lock