public class ImageHeap extends Object
| Constructor and Description |
|---|
ImageHeap() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addReachableObject(AnalysisType type,
ImageHeapConstant heapObj) |
Set<ImageHeapConstant> |
getReachableObjects(AnalysisType type) |
Object |
getSnapshot(JavaConstant constant)
Get the constant snapshot from the cache.
|
Object |
setTask(JavaConstant constant,
AnalysisFuture<ImageHeapConstant> task)
Record the future computing the snapshot in the heap.
|
void |
setValue(JavaConstant constant,
ImageHeapConstant value)
Record the snapshot in the heap.
|
public Object getSnapshot(JavaConstant constant)
public Object setTask(JavaConstant constant, AnalysisFuture<ImageHeapConstant> task)
public void setValue(JavaConstant constant,
ImageHeapConstant value)
public Set<ImageHeapConstant> getReachableObjects(AnalysisType type)
public boolean addReachableObject(AnalysisType type, ImageHeapConstant heapObj)