Package com.ibm.wala.util.ref
Class ReferenceCleanser
- java.lang.Object
-
- com.ibm.wala.util.ref.ReferenceCleanser
-
public class ReferenceCleanser extends Object
For some reason (either a bug in our code that defeats soft references, or a bad policy in the GC), leaving soft reference caches to clear themselves out doesn't work. Help it out. It's unfortunate that this class exists.
-
-
Constructor Summary
Constructors Constructor Description ReferenceCleanser()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
clearSoftCaches()
A debugging aid.static void
registerCache(AnalysisCache cache)
static void
registerClassHierarchy(IClassHierarchy cha)
-
-
-
Method Detail
-
registerClassHierarchy
public static void registerClassHierarchy(IClassHierarchy cha)
-
registerCache
public static void registerCache(AnalysisCache cache)
-
clearSoftCaches
public static void clearSoftCaches()
A debugging aid. TODO: move this elsewhere
-
-