--- old/agent/src/share/classes/sun/jvm/hotspot/code/CodeCache.java Wed Aug 26 18:20:01 2009 +++ new/agent/src/share/classes/sun/jvm/hotspot/code/CodeCache.java Wed Aug 26 18:20:01 2009 @@ -167,7 +167,7 @@ CodeBlob lastBlob = null; while (ptr != null && ptr.lessThan(end)) { try { - CodeBlob blob = findBlobUnsafe(ptr); + CodeBlob blob = findBlobUnsafe(heap.findStart(ptr)); if (blob != null) { visitor.visit(blob); if (blob == lastBlob) {