public class AuxiliaryCache
extends java.lang.Object
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 and Description |
|---|
AuxiliaryCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
cache(IMethod m,
Context c,
SSAOptions options,
java.lang.Object aux)
cache new auxiliary information for an <m,options> pair
|
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.
|
public void wipe()
public java.lang.Object find(IMethod m, Context c, SSAOptions options)
m - a methodoptions - options governing ssa constructionpublic void cache(IMethod m, Context c, SSAOptions options, java.lang.Object aux)
m - a methodoptions - options governing ssa construction