agent/src/share/classes/sun/jvm/hotspot/code/CodeCache.java
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
*** old/agent/src/share/classes/sun/jvm/hotspot/code/CodeCache.java Mon Oct 19 12:10:30 2009
--- new/agent/src/share/classes/sun/jvm/hotspot/code/CodeCache.java Mon Oct 19 12:10:30 2009
*** 171,181 ****
--- 171,182 ----
visitor.prologue(ptr, end);
CodeBlob lastBlob = null;
while (ptr != null && ptr.lessThan(end)) {
try {
CodeBlob blob = findBlobUnsafe(ptr);
+ // Use findStart to get a pointer inside blob other findBlob asserts
+ CodeBlob blob = findBlobUnsafe(heap.findStart(ptr));
if (blob != null) {
visitor.visit(blob);
if (blob == lastBlob) {
throw new InternalError("saw same blob twice");
}
agent/src/share/classes/sun/jvm/hotspot/code/CodeCache.java
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File