joeq.Memory
Class HeapAddress
java.lang.Object
joeq.Memory.Address
joeq.Memory.HeapAddress
- Direct Known Subclasses:
- HostedVM.BogusHeapAddress
public class HeapAddress
- extends Address
- Version:
- $Id: HeapAddress.java 1538 2004-03-23 11:48:23Z joewhaley $
- Author:
- John Whaley
FACTORY
public static HeapAddress.HeapAddressFactory FACTORY
_class
public static final jq_Class _class
_FACTORY
public static final jq_StaticField _FACTORY
HeapAddress
public HeapAddress()
size
public static final int size()
logSize
public static final int logSize()
pageAlign
public static final int pageAlign()
getNull
public static final HeapAddress getNull()
addressOf
public static final HeapAddress addressOf(Object o)
address32
public static final HeapAddress address32(int val)
asObject
public Object asObject()
asReferenceType
public jq_Reference asReferenceType()
atomicAdd
public void atomicAdd(int v)
atomicSub
public void atomicSub(int v)
atomicAnd
public void atomicAnd(int v)
atomicCas4
public int atomicCas4(int before,
int after)
atomicCas8
public long atomicCas8(long before,
long after)
peek
public Address peek()
- Specified by:
peek
in class Address
peek1
public byte peek1()
- Specified by:
peek1
in class Address
peek2
public short peek2()
- Specified by:
peek2
in class Address
peek4
public int peek4()
- Specified by:
peek4
in class Address
peek8
public long peek8()
- Specified by:
peek8
in class Address
poke
public void poke(Address v)
- Specified by:
poke
in class Address
poke1
public void poke1(byte v)
- Specified by:
poke1
in class Address
poke2
public void poke2(short v)
- Specified by:
poke2
in class Address
poke4
public void poke4(int v)
- Specified by:
poke4
in class Address
poke8
public void poke8(long v)
- Specified by:
poke8
in class Address
offset
public Address offset(int offset)
- Specified by:
offset
in class Address
align
public Address align(int shift)
- Specified by:
align
in class Address
difference
public int difference(Address v)
- Specified by:
difference
in class Address
isNull
public boolean isNull()
- Specified by:
isNull
in class Address
to32BitValue
public int to32BitValue()
- Specified by:
to32BitValue
in class Address
stringRep
public String stringRep()
- Specified by:
stringRep
in class Address
Copyright © 2001-2008 John Whaley. All Rights Reserved.