Package qilin.pta.toolkits.common
Class OAG
java.lang.Object
qilin.pta.toolkits.common.OAG
- All Implemented Interfaces:
DirectedGraph<AllocNode>
- Direct Known Subclasses:
DebloatedOAG
Implementation of Object Allocation Graph (OAG).
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface qilin.util.graph.DirectedGraph
computeReachableNodes, computeRootNodes, computeTailNodes
-
Field Details
-
pta
-
successors
-
predecessors
-
nodes
-
rootNodes
-
tailNodes
-
-
Constructor Details
-
OAG
-
-
Method Details
-
build
public void build() -
allNodes
- Specified by:
allNodes
in interfaceDirectedGraph<AllocNode>
-
predsOf
- Specified by:
predsOf
in interfaceDirectedGraph<AllocNode>
-
succsOf
- Specified by:
succsOf
in interfaceDirectedGraph<AllocNode>
-
rootNodes
-
tailNodes
-
getPredsOf
-
getSuccsOf
-
getInDegreeOf
-
reaches
-
buildOAG
protected void buildOAG() -
addEdge
Add a directed object allocation edge to the OAG. -
nodeSize
public int nodeSize() -
edgeSize
public int edgeSize()
-