comparison agent/src/share/classes/sun/jvm/hotspot/debugger/Address.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
85 85
86 public long getCIntegerAt (long offset, long numBytes, boolean isUnsigned) 86 public long getCIntegerAt (long offset, long numBytes, boolean isUnsigned)
87 throws UnmappedAddressException, UnalignedAddressException; 87 throws UnmappedAddressException, UnalignedAddressException;
88 /** This returns null if the address at the given offset is NULL. */ 88 /** This returns null if the address at the given offset is NULL. */
89 public Address getAddressAt (long offset) throws UnmappedAddressException, UnalignedAddressException; 89 public Address getAddressAt (long offset) throws UnmappedAddressException, UnalignedAddressException;
90 /** Returns the decoded address at the given offset */
91 public Address getCompOopAddressAt (long offset) throws UnmappedAddressException, UnalignedAddressException;
90 92
91 // 93 //
92 // Java-related routines 94 // Java-related routines
93 // 95 //
94 96
101 public long getJLongAt (long offset) throws UnmappedAddressException, UnalignedAddressException; 103 public long getJLongAt (long offset) throws UnmappedAddressException, UnalignedAddressException;
102 public short getJShortAt (long offset) throws UnmappedAddressException, UnalignedAddressException; 104 public short getJShortAt (long offset) throws UnmappedAddressException, UnalignedAddressException;
103 /** This returns null if the address at the given offset is NULL. */ 105 /** This returns null if the address at the given offset is NULL. */
104 public OopHandle getOopHandleAt (long offset) 106 public OopHandle getOopHandleAt (long offset)
105 throws UnmappedAddressException, UnalignedAddressException, NotInHeapException; 107 throws UnmappedAddressException, UnalignedAddressException, NotInHeapException;
108 public OopHandle getCompOopHandleAt (long offset)
109 throws UnmappedAddressException, UnalignedAddressException, NotInHeapException;
106 110
107 // 111 //
108 // C/C++-related mutators. These throw UnmappedAddressException if 112 // C/C++-related mutators. These throw UnmappedAddressException if
109 // the target is read-only (for example, a core file rather than an 113 // the target is read-only (for example, a core file rather than an
110 // active process), if the target address is unmapped, or if it is 114 // active process), if the target address is unmapped, or if it is