comparison agent/src/share/classes/sun/jvm/hotspot/utilities/ReversePtrsAnalysis.java @ 113:ba764ed4b6f2

6420645: Create a vm that uses compressed oops for up to 32gb heapsizes Summary: Compressed oops in instances, arrays, and headers. Code contributors are coleenp, phh, never, swamyv Reviewed-by: jmasa, kamg, acorn, tbell, kvn, rasbold
author coleenp
date Sun, 13 Apr 2008 17:43:42 -0400
parents a61af66fc99e
children d1605aabd0a1
comparison
equal deleted inserted replaced
110:a49a647afe9a 113:ba764ed4b6f2
280 " @ " + addr)); 280 " @ " + addr));
281 rp.put(lp, next); 281 rp.put(lp, next);
282 markAndTraverse(next); 282 markAndTraverse(next);
283 } 283 }
284 284
285 public void visitCompOopAddress(Address addr) {
286 Oop next = heap.newOop(addr.getCompOopHandleAt(0));
287 LivenessPathElement lp = new LivenessPathElement(null,
288 new NamedFieldIdentifier(baseRootDescription +
289 " @ " + addr));
290 rp.put(lp, next);
291 markAndTraverse(next);
292 }
293
285 private String baseRootDescription; 294 private String baseRootDescription;
286 } 295 }
287 296
288 // Traverse the roots on a given thread's stack 297 // Traverse the roots on a given thread's stack
289 private void doStack(JavaThread thread, AddressVisitor oopVisitor) { 298 private void doStack(JavaThread thread, AddressVisitor oopVisitor) {