public static ClassResolver softCachingConcurrentResolver ( ClassLoader classLoader ) { return new CachingClassResolver ( new ClassLoaderClassResolver ( defaultClassLoader ( classLoader ) ) , new SoftReferenceMap < String , Class < ? > > ( PlatformDependent . < String , Reference < Class < ? > > > newConcurrentHashMap ( ) ) ) ; }
aggressive concurrent cache good for shared cache when we re not worried about class unloading