79f6d4b590
Root cause: Cached in ClassValue values are prohibited to reference any java.lang.Class or ClassValue instances as they are considered as strong roots that prevent Class and ClassValue garbage collection, creating effectively unloadable cycle. This problem is also known as JDK-8136353. Actions taken: * Extract anonymous ClassValue instance into a separate static class that does not capture anything implicitly * Wrap cached values in ClassValue into SoftReference to avoid unloadable cycles ^KT-56093 Fixed