comparison agent/src/share/classes/sun/jvm/hotspot/debugger/proc/ProcAddress.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
70 70
71 public Address getAddressAt(long offset) throws UnalignedAddressException, UnmappedAddressException { 71 public Address getAddressAt(long offset) throws UnalignedAddressException, UnmappedAddressException {
72 return debugger.readAddress(addr + offset); 72 return debugger.readAddress(addr + offset);
73 } 73 }
74 74
75 public Address getCompOopAddressAt(long offset) throws UnalignedAddressException, UnmappedAddressException {
76 return debugger.readCompOopAddress(addr + offset);
77 }
78
75 // 79 //
76 // Java-related routines 80 // Java-related routines
77 // 81 //
78 82
79 public boolean getJBooleanAt(long offset) throws UnalignedAddressException, UnmappedAddressException { 83 public boolean getJBooleanAt(long offset) throws UnalignedAddressException, UnmappedAddressException {
109 } 113 }
110 114
111 public OopHandle getOopHandleAt(long offset) 115 public OopHandle getOopHandleAt(long offset)
112 throws UnalignedAddressException, UnmappedAddressException, NotInHeapException { 116 throws UnalignedAddressException, UnmappedAddressException, NotInHeapException {
113 return debugger.readOopHandle(addr + offset); 117 return debugger.readOopHandle(addr + offset);
118 }
119 public OopHandle getCompOopHandleAt(long offset)
120 throws UnalignedAddressException, UnmappedAddressException, NotInHeapException {
121 return debugger.readCompOopHandle(addr + offset);
114 } 122 }
115 123
116 // Mutators -- not implemented for now (FIXME) 124 // Mutators -- not implemented for now (FIXME)
117 public void setCIntegerAt(long offset, long numBytes, long value) { 125 public void setCIntegerAt(long offset, long numBytes, long value) {
118 throw new DebuggerException("Unimplemented"); 126 throw new DebuggerException("Unimplemented");