|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jikesrvm.compilers.opt.escape.MethodSummary
class MethodSummary
Hold semantic information about a method that is not defined in RVMMethod.
Field Summary | |
---|---|
private long |
escapeInfo
Escape result, top bit is result of the method bits 0..63 are for parameters 0..63 respectively |
private static boolean |
inProgress
Is this method currently being analyzed? |
private static long |
RES_ESCAPE
Default escape result, that the result escapes but that no parameter is escaping. |
Constructor Summary | |
---|---|
MethodSummary(RVMMethod m)
|
Method Summary | |
---|---|
boolean |
inProgress()
Is analysis of this method in progress? |
boolean |
parameterMayEscapeThread(int p)
Query whether a parameter may escape from a thread. |
boolean |
resultMayEscapeThread()
Query whether the result of this method may escape from a thread. |
void |
setInProgress(boolean b)
Mark that analysis of this method is or is not in progress. |
void |
setParameterMayEscapeThread(int p,
boolean b)
Record that a parameter may or may not escape from a thread. |
void |
setResultMayEscapeThread(boolean b)
Record that a result of this method may or may not escape from a thread. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static boolean inProgress
private static final long RES_ESCAPE
private long escapeInfo
Constructor Detail |
---|
MethodSummary(RVMMethod m)
m
- RVMMethod representing this method.Method Detail |
---|
public void setParameterMayEscapeThread(int p, boolean b)
p
- the number of the parameterb
- may it escape?public boolean parameterMayEscapeThread(int p)
p
- the number of the parameter
public void setResultMayEscapeThread(boolean b)
b
- may it escape?public boolean resultMayEscapeThread()
false
iff the parameter must not escape from the
thread. true otherwise.public boolean inProgress()
public void setInProgress(boolean b)
b
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |