Mercurial > hg > truffle
comparison agent/src/share/classes/sun/jvm/hotspot/code/CodeCache.java @ 1040:873ec3787992
6892186: SA does not dump debug info for scalar replaced objects
Summary: Implement scalar replaced objects debug info dump in SA.
Reviewed-by: twisti
author | kvn |
---|---|
date | Wed, 21 Oct 2009 09:15:33 -0700 |
parents | 148e5441d916 |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
1039:987e948ebbc8 | 1040:873ec3787992 |
---|---|
171 | 171 |
172 visitor.prologue(ptr, end); | 172 visitor.prologue(ptr, end); |
173 CodeBlob lastBlob = null; | 173 CodeBlob lastBlob = null; |
174 while (ptr != null && ptr.lessThan(end)) { | 174 while (ptr != null && ptr.lessThan(end)) { |
175 try { | 175 try { |
176 CodeBlob blob = findBlobUnsafe(ptr); | 176 // Use findStart to get a pointer inside blob other findBlob asserts |
177 CodeBlob blob = findBlobUnsafe(heap.findStart(ptr)); | |
177 if (blob != null) { | 178 if (blob != null) { |
178 visitor.visit(blob); | 179 visitor.visit(blob); |
179 if (blob == lastBlob) { | 180 if (blob == lastBlob) { |
180 throw new InternalError("saw same blob twice"); | 181 throw new InternalError("saw same blob twice"); |
181 } | 182 } |