|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.wala.ssa.AuxiliaryCache
public class AuxiliaryCache
A cache for auxiliary information based on an SSA representation A mapping from (IMethod,Context) -> SSAOptions -> SoftReference -> something This doesn't work very well ... GCs don't do such a great job with SoftReferences ... revamp it.
| Constructor Summary | |
|---|---|
AuxiliaryCache()
|
|
| Method Summary | |
|---|---|
void |
cache(IMethod m,
Context C,
SSAOptions options,
java.lang.Object aux)
cache new auxiliary information for an |
java.lang.Object |
find(IMethod m,
Context C,
SSAOptions options)
|
void |
invalidate(IMethod method,
Context C)
invalidate all cached information about a method |
void |
wipe()
The existence of this is unfortunate. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AuxiliaryCache()
| Method Detail |
|---|
public void wipe()
public java.lang.Object find(IMethod m,
Context C,
SSAOptions options)
m - a methodoptions - options governing ssa construction
public void cache(IMethod m,
Context C,
SSAOptions options,
java.lang.Object aux)
m - a methodoptions - options governing ssa construction
public void invalidate(IMethod method,
Context C)
method -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||