Mercurial > hg > truffle
comparison agent/src/share/classes/sun/jvm/hotspot/debugger/dbx/DbxDebuggerLocal.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 |
---|---|
458 throws UnmappedAddressException, UnalignedAddressException { | 458 throws UnmappedAddressException, UnalignedAddressException { |
459 long value = readAddressValue(address); | 459 long value = readAddressValue(address); |
460 return (value == 0 ? null : new DbxAddress(this, value)); | 460 return (value == 0 ? null : new DbxAddress(this, value)); |
461 } | 461 } |
462 | 462 |
463 public DbxAddress readCompOopAddress(long address) | |
464 throws UnmappedAddressException, UnalignedAddressException { | |
465 long value = readCompOopAddressValue(address); | |
466 return (value == 0 ? null : new DbxAddress(this, value)); | |
467 } | |
468 | |
463 /** From the DbxDebugger interface */ | 469 /** From the DbxDebugger interface */ |
464 public DbxOopHandle readOopHandle(long address) | 470 public DbxOopHandle readOopHandle(long address) |
465 throws UnmappedAddressException, UnalignedAddressException, NotInHeapException { | 471 throws UnmappedAddressException, UnalignedAddressException, NotInHeapException { |
466 long value = readAddressValue(address); | 472 long value = readAddressValue(address); |
473 return (value == 0 ? null : new DbxOopHandle(this, value)); | |
474 } | |
475 public DbxOopHandle readCompOopHandle(long address) | |
476 throws UnmappedAddressException, UnalignedAddressException, NotInHeapException { | |
477 long value = readCompOopAddressValue(address); | |
467 return (value == 0 ? null : new DbxOopHandle(this, value)); | 478 return (value == 0 ? null : new DbxOopHandle(this, value)); |
468 } | 479 } |
469 | 480 |
470 //-------------------------------------------------------------------------------- | 481 //-------------------------------------------------------------------------------- |
471 // Thread context access. Can not be package private, but should | 482 // Thread context access. Can not be package private, but should |