Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
public Address | addOffsetTo(long offset)
Overrides sun. Implements sun. This throws an UnsupportedOperationException if this address happens to actually be an OopHandle, because interior object pointers are not allowed. |
public Address | andWithMask(long mask)
Overrides sun. Implements sun. This throws an UnsupportedOperationException if this address happens to actually be an OopHandle. |
public boolean | equals(Object
the reference object with which to compare. arg)Overrides sun. 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 | orWithMask(long mask)
Overrides sun. Implements sun. This throws an UnsupportedOperationException if this address happens to actually be an OopHandle. |
public Address | xorWithMask(long mask)
Overrides sun. Implements sun. This throws an UnsupportedOperationException if this address happens to actually be an OopHandle. |
WindbgOopHandle | back to summary |
---|---|
pack-priv WindbgOopHandle(WindbgDebugger debugger, long addr) |
addOffsetTo | back to summary |
---|---|
public Address addOffsetTo(long offset) throws UnsupportedOperationException Overrides sun. 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. |
andWithMask | back to summary |
---|---|
public Address andWithMask(long mask) throws UnsupportedOperationException Overrides sun. 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. |
equals | back to summary |
---|---|
public boolean equals(Object arg) Overrides sun. 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.
|
orWithMask | back to summary |
---|---|
public Address orWithMask(long mask) throws UnsupportedOperationException Overrides sun. 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. |
xorWithMask | back to summary |
---|---|
public Address xorWithMask(long mask) throws UnsupportedOperationException Overrides sun. 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. |