| Modifier and Type | Field and Description |
|---|---|
| protected long | |
| protected RemoteDebuggerClient |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Address | addOffsetTo(long offset)
Implements sun. This throws an UnsupportedOperationException if this address happens to actually be an OopHandle, because interior object pointers are not allowed. |
| public OopHandle | addOffsetToAsOopHandle(long offset)
Implements sun. This method had to be added in order to support heap iteration in the debugging system, and is effectively the dangerous operation of allowing interior object pointers. |
| public Address | andWithMask(long mask)
Implements sun. This throws an UnsupportedOperationException if this address happens to actually be an OopHandle. |
| public long | |
| private static void | |
| public boolean | equals(Object arg)
Overrides java. Implements sun. This is stated explicitly here because it is important for implementations to understand that equals() and hashCode() must absolutely, positively work properly -- i.e., two Address objects representing the same address are both equal (via equals()) and have the same hash code. |
| public Address | getAddressAt(long offset)
Implements sun. This returns null if the address at the given offset is NULL. |
| public long | getCIntegerAt(long offset, long numBytes, boolean isUnsigned)
Implements sun.
|
| public Address | getCompKlassAddressAt(long offset)
Implements sun.
|
| public Address | getCompOopAddressAt(long offset)
Implements sun. Returns the decoded address at the given offset |
| public OopHandle | |
| public boolean | |
| public byte | |
| public char | |
| public double | |
| public float | |
| public int | |
| public long | |
| public short | |
| public OopHandle | getOopHandleAt(long offset)
Implements sun. This returns null if the address at the given offset is NULL. |
| public boolean | greaterThan(Address arg)
Implements sun. Performs unsigned comparison "this > arg". |
| public boolean | greaterThanOrEqual(Address arg)
Implements sun. Performs unsigned comparison "this >= arg". |
| public int | hashCode()
Overrides java. Implements sun. This is stated explicitly here because it is important for implementations to understand that equals() and hashCode() must absolutely, positively work properly -- i.e., two Address objects representing the same address are both equal (via equals()) and have the same hash code. |
| public boolean | lessThan(Address arg)
Implements sun. Performs unsigned comparison "this < arg". |
| public boolean | lessThanOrEqual(Address arg)
Implements sun. Performs unsigned comparison "this <= arg". |
| public static void | |
| public long | minus(Address arg)
Implements sun. (FIXME: any signed/unsigned issues? |
| public Address | orWithMask(long mask)
Implements sun. This throws an UnsupportedOperationException if this address happens to actually be an OopHandle. |
| public void | setAddressAt(long offset, Address value)
Implements sun. Sets an Address at the specified location. |
| public void | setCIntegerAt(long offset, long numBytes, long value)
Implements sun. Sets a C integer numBytes in size at the specified offset. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setOopHandleAt(long offset, OopHandle value)
Implements sun.
|
| public String | |
| public Address | xorWithMask(long mask)
Implements sun. This throws an UnsupportedOperationException if this address happens to actually be an OopHandle. |
| addr | back to summary |
|---|---|
| protected long addr | |
| debugger | back to summary |
|---|---|
| protected RemoteDebuggerClient debugger | |
| RemoteAddress | back to summary |
|---|---|
| pack-priv RemoteAddress(RemoteDebuggerClient debugger, long addr) | |
| addOffsetTo | back to summary |
|---|---|
| public Address addOffsetTo(long offset) throws UnsupportedOperationException Implements sun. Doc from sun. This throws an UnsupportedOperationException if this address happens to actually be an OopHandle, because interior object pointers are not allowed. Negative offsets are allowed and handle the subtraction case. | |
| addOffsetToAsOopHandle | back to summary |
|---|---|
| public OopHandle addOffsetToAsOopHandle(long offset) throws UnsupportedOperationException Implements sun. Doc from sun. This method had to be added in order to support heap iteration in the debugging system, and is effectively the dangerous operation of allowing interior object pointers. For this reason it was kept as a separate API and its use is forbidden in the non-debugging (i.e., reflective system) case. It is strongly recommended that this not be called by clients: it is currently wrapped up in the Space's iteration mechanism. | |
| andWithMask | back to summary |
|---|---|
| public Address andWithMask(long mask) throws UnsupportedOperationException Implements sun. Doc from sun. This throws an UnsupportedOperationException if this address happens to actually be an OopHandle. Performs a logical "and" operation of the bits of the address and the mask (least significant bits of the Address and the mask are aligned) and returns the result as an Address. Returns null if the result was zero. | |
| asLongValue | back to summary |
|---|---|
| public long asLongValue() Implements sun. | |
| check | back to summary |
|---|---|
| private static void check(boolean arg, String failMessage) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object arg) Overrides java. Implements sun. Doc from sun. This is stated explicitly here because it is important for implementations to understand that equals() and hashCode() must absolutely, positively work properly -- i.e., two Address objects representing the same address are both equal (via equals()) and have the same hash code. | |
| getAddressAt | back to summary |
|---|---|
| public Address getAddressAt(long offset) throws UnalignedAddressException, UnmappedAddressException Implements sun. Doc from sun. This returns null if the address at the given offset is NULL. | |
| getCIntegerAt | back to summary |
|---|---|
| public long getCIntegerAt(long offset, long numBytes, boolean isUnsigned) throws UnalignedAddressException, UnmappedAddressException Implements sun. | |
| getCompKlassAddressAt | back to summary |
|---|---|
| public Address getCompKlassAddressAt(long offset) throws UnalignedAddressException, UnmappedAddressException Implements sun. | |
| getCompOopAddressAt | back to summary |
|---|---|
| public Address getCompOopAddressAt(long offset) throws UnalignedAddressException, UnmappedAddressException Implements sun. Doc from sun. Returns the decoded address at the given offset | |
| getCompOopHandleAt | back to summary |
|---|---|
| public OopHandle getCompOopHandleAt(long offset) throws UnalignedAddressException, UnmappedAddressException, NotInHeapException Implements sun. | |
| getJBooleanAt | back to summary |
|---|---|
| public boolean getJBooleanAt(long offset) throws UnalignedAddressException, UnmappedAddressException Implements sun. | |
| getJByteAt | back to summary |
|---|---|
| public byte getJByteAt(long offset) throws UnalignedAddressException, UnmappedAddressException Implements sun. | |
| getJCharAt | back to summary |
|---|---|
| public char getJCharAt(long offset) throws UnalignedAddressException, UnmappedAddressException Implements sun. | |
| getJDoubleAt | back to summary |
|---|---|
| public double getJDoubleAt(long offset) throws UnalignedAddressException, UnmappedAddressException Implements sun. | |
| getJFloatAt | back to summary |
|---|---|
| public float getJFloatAt(long offset) throws UnalignedAddressException, UnmappedAddressException Implements sun. | |
| getJIntAt | back to summary |
|---|---|
| public int getJIntAt(long offset) throws UnalignedAddressException, UnmappedAddressException Implements sun. | |
| getJLongAt | back to summary |
|---|---|
| public long getJLongAt(long offset) throws UnalignedAddressException, UnmappedAddressException Implements sun. | |
| getJShortAt | back to summary |
|---|---|
| public short getJShortAt(long offset) throws UnalignedAddressException, UnmappedAddressException Implements sun. | |
| getOopHandleAt | back to summary |
|---|---|
| public OopHandle getOopHandleAt(long offset) throws UnalignedAddressException, UnmappedAddressException, NotInHeapException Implements sun. Doc from sun. This returns null if the address at the given offset is NULL. | |
| greaterThan | back to summary |
|---|---|
| public boolean greaterThan(Address arg) Implements sun. Doc from sun. Performs unsigned comparison "this > arg". (FIXME: should this work for OopHandles?) | |
| greaterThanOrEqual | back to summary |
|---|---|
| public boolean greaterThanOrEqual(Address arg) Implements sun. Doc from sun. Performs unsigned comparison "this >= arg". (FIXME: should this work for OopHandles?) | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Implements sun. Doc from sun. This is stated explicitly here because it is important for implementations to understand that equals() and hashCode() must absolutely, positively work properly -- i.e., two Address objects representing the same address are both equal (via equals()) and have the same hash code. | |
| lessThan | back to summary |
|---|---|
| public boolean lessThan(Address arg) Implements sun. Doc from sun. Performs unsigned comparison "this < arg". (FIXME: should this work for OopHandles?) | |
| lessThanOrEqual | back to summary |
|---|---|
| public boolean lessThanOrEqual(Address arg) Implements sun. Doc from sun. Performs unsigned comparison "this <= arg". (FIXME: should this work for OopHandles?) | |
| main | back to summary |
|---|---|
| public static void main(String[] args) | |
| minus | back to summary |
|---|---|
| public long minus(Address arg) Implements sun. (FIXME: any signed/unsigned issues? Should this work for OopHandles?) | |
| orWithMask | back to summary |
|---|---|
| public Address orWithMask(long mask) throws UnsupportedOperationException Implements sun. Doc from sun. This throws an UnsupportedOperationException if this address happens to actually be an OopHandle. Performs a logical "or" operation of the bits of the address and the mask (least significant bits of the Address and the mask are aligned) and returns the result as an Address. Returns null if the result was zero. | |
| setAddressAt | back to summary |
|---|---|
| public void setAddressAt(long offset, Address value) Implements sun. Doc from sun. Sets an Address at the specified location. | |
| setCIntegerAt | back to summary |
|---|---|
| public void setCIntegerAt(long offset, long numBytes, long value) Implements sun. Doc from sun. Sets a C integer numBytes in size at the specified offset. Note that there is no "unsigned" flag for the accessor since the value will not be sign-extended; the number of bytes are simply copied from the value into the target address space. | |
| setJBooleanAt | back to summary |
|---|---|
| public void setJBooleanAt(long offset, boolean value) throws UnmappedAddressException, UnalignedAddressException Implements sun. | |
| setJByteAt | back to summary |
|---|---|
| public void setJByteAt(long offset, byte value) throws UnmappedAddressException, UnalignedAddressException Implements sun. | |
| setJCharAt | back to summary |
|---|---|
| public void setJCharAt(long offset, char value) throws UnmappedAddressException, UnalignedAddressException Implements sun. | |
| setJDoubleAt | back to summary |
|---|---|
| public void setJDoubleAt(long offset, double value) throws UnmappedAddressException, UnalignedAddressException Implements sun. | |
| setJFloatAt | back to summary |
|---|---|
| public void setJFloatAt(long offset, float value) throws UnmappedAddressException, UnalignedAddressException Implements sun. | |
| setJIntAt | back to summary |
|---|---|
| public void setJIntAt(long offset, int value) throws UnmappedAddressException, UnalignedAddressException Implements sun. | |
| setJLongAt | back to summary |
|---|---|
| public void setJLongAt(long offset, long value) throws UnmappedAddressException, UnalignedAddressException Implements sun. | |
| setJShortAt | back to summary |
|---|---|
| public void setJShortAt(long offset, short value) throws UnmappedAddressException, UnalignedAddressException Implements sun. | |
| setOopHandleAt | back to summary |
|---|---|
| public void setOopHandleAt(long offset, OopHandle value) throws UnmappedAddressException, UnalignedAddressException Implements sun. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| xorWithMask | back to summary |
|---|---|
| public Address xorWithMask(long mask) throws UnsupportedOperationException Implements sun. Doc from sun. This throws an UnsupportedOperationException if this address happens to actually be an OopHandle. Performs a logical "exclusive or" operation of the bits of the address and the mask (least significant bits of the Address and the mask are aligned) and returns the result as an Address. Returns null if the result was zero. | |