public class PreciseAllocationContext extends Object implements AllocationContext
Modifier and Type | Field and Description |
---|---|
protected Instruction[] |
cc |
protected int |
hashCode |
protected ThreadInfo |
ti |
Modifier | Constructor and Description |
---|---|
protected |
PreciseAllocationContext() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
default implementation is just an identity check
|
AllocationContext |
extend(ClassInfo ci,
int anchor) |
int |
getStackDepth() |
static PreciseAllocationContext |
getSUTExecutionContext(ClassInfo ci,
ThreadInfo ti) |
int |
hashCode() |
String |
toString()
mostly for debugging purposes
|
protected ThreadInfo ti
protected Instruction[] cc
protected int hashCode
public static PreciseAllocationContext getSUTExecutionContext(ClassInfo ci, ThreadInfo ti)
public int getStackDepth()
public boolean equals(Object o)
Object
public AllocationContext extend(ClassInfo ci, int anchor)
extend
in interface AllocationContext