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