Do not use these methods to access Java objects. These methods access the raw memory without any null checks, read- or write barriers. Even when the VM uses compressed pointers, then readObject and writeObject methods access uncompressed pointers.
| Modifier and Type | Method and Description |
|---|---|
| public Pointer | Returns: this + valvalue to be added to this Pointer. val)Redeclares org. Returns a Pointer whose value is |
| public Pointer | Returns: this + valvalue to be added to this Pointer. val)Redeclares org. Returns a Pointer whose value is |
| public Pointer | Returns: this & valvalue to be AND'ed with this Pointer. val)Redeclares org. Returns a Pointer whose value is |
| public Pointer | Returns: this & valvalue to be AND'ed with this Pointer. val)Redeclares org. Returns a Pointer whose value is |
| public int | Returns: The value that was read for comparison, which isexpectedValue if the
exchange was performed.the signed offset for the memory access offset, int the expected current value at the memory address expectedValue, int the new value for the atomic exchange newValue, LocationIdentity the identity of the memory location locationIdentity)In a single atomic step, compares the memory at address |
| public int | Returns: The value that was read for comparison, which isexpectedValue if the
exchange was performed.the signed offset for the memory access offset, int the expected current value at the memory address expectedValue, int the new value for the atomic exchange newValue, LocationIdentity the identity of the memory location locationIdentity)In a single atomic step, compares the memory at address |
| public long | Returns: The value that was read for comparison, which isexpectedValue if the
exchange was performed.the signed offset for the memory access offset, long the expected current value at the memory address expectedValue, long the new value for the atomic exchange newValue, LocationIdentity the identity of the memory location locationIdentity)In a single atomic step, compares the memory at address |
| public long | Returns: The value that was read for comparison, which isexpectedValue if the
exchange was performed.the signed offset for the memory access offset, long the expected current value at the memory address expectedValue, long the new value for the atomic exchange newValue, LocationIdentity the identity of the memory location locationIdentity)In a single atomic step, compares the memory at address |
| public Object | Returns: The value that was read for comparison, which isexpectedValue if the
exchange was performed.the signed offset for the memory access offset, Object the expected current value at the memory address expectedValue, Object the new value for the atomic exchange newValue, LocationIdentity the identity of the memory location locationIdentity)In a single atomic step, compares the memory at address |
| public Object | Returns: The value that was read for comparison, which isexpectedValue if the
exchange was performed.the signed offset for the memory access offset, Object the expected current value at the memory address expectedValue, Object the new value for the atomic exchange newValue, LocationIdentity the identity of the memory location locationIdentity)In a single atomic step, compares the memory at address |
| public <T extends WordBase> T | Returns: The value that was read for comparison, which isexpectedValue if the
exchange was performed.the signed offset for the memory access offset, T the expected current value at the memory address expectedValue, T the new value for the atomic exchange newValue, LocationIdentity the identity of the memory location locationIdentity)In a single atomic step, compares the memory at address |
| public <T extends WordBase> T | Returns: The value that was read for comparison, which isexpectedValue if the
exchange was performed.the signed offset for the memory access offset, T the expected current value at the memory address expectedValue, T the new value for the atomic exchange newValue, LocationIdentity the identity of the memory location locationIdentity)In a single atomic step, compares the memory at address |
| public void | initializeLong(WordBase
the signed offset for the memory access offset, long the value to be written to memory val, LocationIdentity the identity of the write locationIdentity)Initializes the memory at address |
| public void | initializeLong(int
the signed offset for the memory access offset, long the value to be written to memory val, LocationIdentity the identity of the write locationIdentity)Initializes the memory at address |
| public boolean | Returns: true if successful. False return indicates that the actual value was not
equal to the expected value.the signed offset for the memory access offset, int the expected current value at the memory address expectedValue, int the new value for the atomic exchange newValue, LocationIdentity the identity of the memory location locationIdentity)In a single atomic step, compares the memory at address |
| public boolean | Returns: true if successful. False return indicates that the actual value was not
equal to the expected value.the signed offset for the memory access offset, int the expected current value at the memory address expectedValue, int the new value for the atomic exchange newValue, LocationIdentity the identity of the memory location locationIdentity)In a single atomic step, compares the memory at address |
| public boolean | Returns: true if successful. False return indicates that the actual value was not
equal to the expected value.the signed offset for the memory access offset, long the expected current value at the memory address expectedValue, long the new value for the atomic exchange newValue, LocationIdentity the identity of the memory location locationIdentity)In a single atomic step, compares the memory at address |
| public boolean | Returns: true if successful. False return indicates that the actual value was not
equal to the expected value.the signed offset for the memory access offset, long the expected current value at the memory address expectedValue, long the new value for the atomic exchange newValue, LocationIdentity the identity of the memory location locationIdentity)In a single atomic step, compares the memory at address |
| public boolean | Returns: true if successful. False return indicates that the actual value was not
equal to the expected value.the signed offset for the memory access offset, Object the expected current value at the memory address expectedValue, Object the new value for the atomic exchange newValue, LocationIdentity the identity of the memory location locationIdentity)In a single atomic step, compares the memory at address |
| public boolean | Returns: true if successful. False return indicates that the actual value was not
equal to the expected value.the signed offset for the memory access offset, Object the expected current value at the memory address expectedValue, Object the new value for the atomic exchange newValue, LocationIdentity the identity of the memory location locationIdentity)In a single atomic step, compares the memory at address |
| public boolean | Returns: true if successful. False return indicates that the actual value was not
equal to the expected value.the signed offset for the memory access offset, WordBase the expected current value at the memory address expectedValue, WordBase the new value for the atomic exchange newValue, LocationIdentity the identity of the memory location locationIdentity)In a single atomic step, compares the memory at address |
| public boolean | Returns: true if successful. False return indicates that the actual value was not
equal to the expected value.the signed offset for the memory access offset, WordBase the expected current value at the memory address expectedValue, WordBase the new value for the atomic exchange newValue, LocationIdentity the identity of the memory location locationIdentity)In a single atomic step, compares the memory at address |
| public Pointer | Returns: this | valvalue to be OR'ed with this Pointer. val)Redeclares org. Returns a Pointer whose value is |
| public Pointer | Returns: this | valvalue to be OR'ed with this Pointer. val)Redeclares org. Returns a Pointer whose value is |
| public byte | Returns: the result of the memory accessthe signed offset for the memory access offset, LocationIdentity the identity of the read locationIdentity)Reads the memory at address |
| public byte | Returns: the result of the memory accessthe signed offset for the memory access offset, LocationIdentity the identity of the read locationIdentity)Reads the memory at address |
| public byte | |
| public byte | Returns: the result of the memory accessthe signed offset for the memory access offset)Reads the memory at address |
| public char | Returns: the result of the memory accessthe signed offset for the memory access offset, LocationIdentity the identity of the read locationIdentity)Reads the memory at address |
| public char | Returns: the result of the memory accessthe signed offset for the memory access offset, LocationIdentity the identity of the read locationIdentity)Reads the memory at address |
| public char | |
| public char | Returns: the result of the memory accessthe signed offset for the memory access offset)Reads the memory at address |
| public double | Returns: the result of the memory accessthe signed offset for the memory access offset, LocationIdentity the identity of the read locationIdentity)Reads the memory at address |
| public double | Returns: the result of the memory accessthe signed offset for the memory access offset, LocationIdentity the identity of the read locationIdentity)Reads the memory at address |
| public double | Returns: the result of the memory accessthe signed offset for the memory access offset)Reads the memory at address |
| public double | Returns: the result of the memory accessthe signed offset for the memory access offset)Reads the memory at address |
| public float | Returns: the result of the memory accessthe signed offset for the memory access offset, LocationIdentity the identity of the read locationIdentity)Reads the memory at address |
| public float | Returns: the result of the memory accessthe signed offset for the memory access offset, LocationIdentity the identity of the read locationIdentity)Reads the memory at address |
| public float | |
| public float | Returns: the result of the memory accessthe signed offset for the memory access offset)Reads the memory at address |
| public int | Returns: the result of the memory accessthe signed offset for the memory access offset, LocationIdentity the identity of the read locationIdentity)Reads the memory at address |
| public int | Returns: the result of the memory accessthe signed offset for the memory access offset, LocationIdentity the identity of the read locationIdentity)Reads the memory at address |
| public int | |
| public int | Returns: the result of the memory accessthe signed offset for the memory access offset)Reads the memory at address |
| public long | Returns: the result of the memory accessthe signed offset for the memory access offset, LocationIdentity the identity of the read locationIdentity)Reads the memory at address |
| public long | Returns: the result of the memory accessthe signed offset for the memory access offset, LocationIdentity the identity of the read locationIdentity)Reads the memory at address |
| public long | |
| public long | Returns: the result of the memory accessthe signed offset for the memory access offset)Reads the memory at address |
| public Object | Returns: the result of the memory accessthe signed offset for the memory access offset, LocationIdentity the identity of the read locationIdentity)Reads the memory at address |
| public Object | Returns: the result of the memory accessthe signed offset for the memory access offset, LocationIdentity the identity of the read locationIdentity)Reads the memory at address |
| public Object | Returns: the result of the memory accessthe signed offset for the memory access offset)Reads the memory at address |
| public Object | Returns: the result of the memory accessthe signed offset for the memory access offset)Reads the memory at address |
| public short | Returns: the result of the memory accessthe signed offset for the memory access offset, LocationIdentity the identity of the read locationIdentity)Reads the memory at address |
| public short | Returns: the result of the memory accessthe signed offset for the memory access offset, LocationIdentity the identity of the read locationIdentity)Reads the memory at address |
| public short | |
| public short | Returns: the result of the memory accessthe signed offset for the memory access offset)Reads the memory at address |
| public <T extends WordBase> T | Returns: the result of the memory accessthe signed offset for the memory access offset, LocationIdentity the identity of the read locationIdentity)Reads the memory at address |
| public <T extends WordBase> T | Returns: the result of the memory accessthe signed offset for the memory access offset, LocationIdentity the identity of the read locationIdentity)Reads the memory at address |
| public <T extends WordBase> T | |
| public <T extends WordBase> T | Returns: the result of the memory accessthe signed offset for the memory access offset)Reads the memory at address |
| public <T extends WordBase> T | Returns: the result of the memory accessthe signed offset for the memory access offset, LocationIdentity the identity of the read locationIdentity)Reads the memory at address |
| public Pointer | Returns: this - valvalue to be subtracted from this Pointer. val)Redeclares org. Returns a Pointer whose value is |
| public Pointer | Returns: this - valvalue to be subtracted from this Pointer. val)Redeclares org. Returns a Pointer whose value is |
| public Object | Returns: this Pointer cast to Object.Unsafe conversion of this Pointer to a Java language object. |
| public <T> T | |
| public Object | Returns: this Pointer cast to non-null Object.Unsafe conversion of this Pointer to a Java language object. |
| public void | writeByte(WordBase
the signed offset for the memory access offset, byte the value to be written to memory val, LocationIdentity the identity of the write locationIdentity)Writes the memory at address |
| public void | writeByte(int
the signed offset for the memory access offset, byte the value to be written to memory val, LocationIdentity the identity of the write locationIdentity)Writes the memory at address |
| public void | |
| public void | writeByte(int
the signed offset for the memory access offset, byte the value to be written to memory val)Writes the memory at address |
| public void | writeChar(WordBase
the signed offset for the memory access offset, char the value to be written to memory val, LocationIdentity the identity of the write locationIdentity)Writes the memory at address |
| public void | writeChar(int
the signed offset for the memory access offset, char the value to be written to memory val, LocationIdentity the identity of the write locationIdentity)Writes the memory at address |
| public void | |
| public void | writeChar(int
the signed offset for the memory access offset, char the value to be written to memory val)Writes the memory at address |
| public void | writeDouble(WordBase
the signed offset for the memory access offset, double the value to be written to memory val, LocationIdentity the identity of the write locationIdentity)Writes the memory at address |
| public void | writeDouble(int
the signed offset for the memory access offset, double the value to be written to memory val, LocationIdentity the identity of the write locationIdentity)Writes the memory at address |
| public void | writeDouble(WordBase
the signed offset for the memory access offset, double the value to be written to memory val)Writes the memory at address |
| public void | writeDouble(int
the signed offset for the memory access offset, double the value to be written to memory val)Writes the memory at address |
| public void | writeFloat(WordBase
the signed offset for the memory access offset, float the value to be written to memory val, LocationIdentity the identity of the write locationIdentity)Writes the memory at address |
| public void | writeFloat(int
the signed offset for the memory access offset, float the value to be written to memory val, LocationIdentity the identity of the write locationIdentity)Writes the memory at address |
| public void | writeFloat(WordBase
the signed offset for the memory access offset, float the value to be written to memory val)Writes the memory at address |
| public void | writeFloat(int
the signed offset for the memory access offset, float the value to be written to memory val)Writes the memory at address |
| public void | writeInt(WordBase
the signed offset for the memory access offset, int the value to be written to memory val, LocationIdentity the identity of the write locationIdentity)Writes the memory at address |
| public void | writeInt(int
the signed offset for the memory access offset, int the value to be written to memory val, LocationIdentity the identity of the write locationIdentity)Writes the memory at address |
| public void | |
| public void | writeInt(int
the signed offset for the memory access offset, int the value to be written to memory val)Writes the memory at address |
| public void | writeLong(WordBase
the signed offset for the memory access offset, long the value to be written to memory val, LocationIdentity the identity of the write locationIdentity)Writes the memory at address |
| public void | writeLong(int
the signed offset for the memory access offset, long the value to be written to memory val, LocationIdentity the identity of the write locationIdentity)Writes the memory at address |
| public void | |
| public void | writeLong(int
the signed offset for the memory access offset, long the value to be written to memory val)Writes the memory at address |
| public void | writeObject(WordBase
the signed offset for the memory access offset, Object the value to be written to memory val, LocationIdentity the identity of the write locationIdentity)Writes the memory at address |
| public void | writeObject(int
the signed offset for the memory access offset, Object the value to be written to memory val, LocationIdentity the identity of the write locationIdentity)Writes the memory at address |
| public void | writeObject(WordBase
the signed offset for the memory access offset, Object the value to be written to memory val)Writes the memory at address |
| public void | writeObject(int
the signed offset for the memory access offset, Object the value to be written to memory val)Writes the memory at address |
| public void | writeShort(WordBase
the signed offset for the memory access offset, short the value to be written to memory val, LocationIdentity the identity of the write locationIdentity)Writes the memory at address |
| public void | writeShort(int
the signed offset for the memory access offset, short the value to be written to memory val, LocationIdentity the identity of the write locationIdentity)Writes the memory at address |
| public void | writeShort(WordBase
the signed offset for the memory access offset, short the value to be written to memory val)Writes the memory at address |
| public void | writeShort(int
the signed offset for the memory access offset, short the value to be written to memory val)Writes the memory at address |
| public void | writeWord(WordBase
the signed offset for the memory access offset, WordBase the value to be written to memory val, LocationIdentity the identity of the write locationIdentity)Writes the memory at address |
| public void | writeWord(int
the signed offset for the memory access offset, WordBase the value to be written to memory val, LocationIdentity the identity of the write locationIdentity)Writes the memory at address |
| public void | |
| public void | |
| public void | writeWordVolatile(int
the signed offset for the memory access offset, WordBase the value to be written to memory val)Writes the memory at address |