Class 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 Detail

      • ReferenceCleanser

        public ReferenceCleanser()
    • 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