Package com.ibm.wala.ssa
Class AuxiliaryCache
- java.lang.Object
-
- com.ibm.wala.ssa.AuxiliaryCache
-
public class AuxiliaryCache extends java.lang.Object
A cache for auxiliary information based on an SSA representationA 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
Constructors Constructor Description AuxiliaryCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cache(IMethod m, Context c, SSAOptions options, java.lang.Object aux)
java.lang.Object
find(IMethod m, Context c, SSAOptions options)
void
invalidate(IMethod method, Context c)
void
wipe()
-
-
-
Method Detail
-
wipe
public void wipe()
-
find
public java.lang.Object find(IMethod m, Context c, SSAOptions options)
-
cache
public void cache(IMethod m, Context c, SSAOptions options, java.lang.Object aux)
-
-