Class ReferenceCleanser
java.lang.Object
com.ibm.wala.core.util.ref.ReferenceCleanser
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
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
A debugging aid.static void
registerCache
(IAnalysisCacheView cache) static void
-
Constructor Details
-
ReferenceCleanser
public ReferenceCleanser()
-
-
Method Details
-
registerClassHierarchy
-
registerCache
-
clearSoftCaches
public static void clearSoftCaches()A debugging aid. TODO: move this elsewhere
-