|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectharpoon.Analysis.PointerAnalysis.PASync
public class PASync
PASync
models a sync
action.
Field Summary | |
---|---|
ListCell |
call_path
The call chain that specializes this action. |
int |
depth
The depth of the call-path specialization chain; if 0, the sync took place in the current method. |
HCodeElement |
hce
The instruction which performs the sync . |
PANode |
n
The node on which the sync is performed on. |
PANode |
nt
The thread which performs the sync . |
MetaMethod |
wtspec_run
If this action is the thread specialization of another
action, this is the run method of the thread which does this action. |
Constructor Summary | |
---|---|
PASync(PANode n,
PANode nt,
HCodeElement hce)
Creates a PASync . |
Method Summary | |
---|---|
PASync |
csSpecialize(Map map,
CALL call)
Specializes this action for a specific call site. |
boolean |
equals(Object obj)
Checks the equality of this object with another one. |
int |
hashCode()
|
boolean |
isCSSpec()
Checks whether this action is a calling context specialization of some other one. |
boolean |
isTSpec()
Checks whether this action is a thread specialization of some other one. |
Set |
project(Relation mu)
Returns the image of this sync action
projected through the relation mu . |
String |
toString()
String representation for debug purposes. |
PASync |
tSpecialize(Map map,
MetaMethod run)
Does the thread-specialization of this action. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public PANode n
sync
is performed on.
public PANode nt
sync
.
public HCodeElement hce
sync
.
public int depth
sync
took place in the current method.
public ListCell call_path
depth
. To cope with the recursive methods, this
is just the last part of the call-path, containing up to
PointerAnalysis.MAX_SPEC_DEPTH
elements: every chain
shorter than that limit is exact, the rest are just approximations.
public MetaMethod wtspec_run
this
action is the thread specialization of another
action, this is the run method of the thread which does this action.
Constructor Detail |
---|
public PASync(PANode n, PANode nt, HCodeElement hce)
PASync
.
Method Detail |
---|
public PASync csSpecialize(Map map, CALL call)
CALL
. It is added at the end of the
call chain. The new, specialized action is returned.this
object is returned.
public Set project(Relation mu)
this
sync
action
projected through the relation mu
.
public boolean isCSSpec()
public PASync tSpecialize(Map map, MetaMethod run)
this
action.
public boolean isTSpec()
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |