Fixed - CommandAsyncService.CODECS changed to Soft reference map. #2177

pull/2247/head^2
Nikita Koksharov 6 years ago
parent 1e680b2911
commit 5e76ca1e4f

@ -800,7 +800,7 @@ public class CommandAsyncService implements CommandAsyncExecutor {
});
}
private static final Map<ClassLoader, Map<Codec, Codec>> CODECS = ReferenceCacheMap.weak(0, 0);
private static final Map<ClassLoader, Map<Codec, Codec>> CODECS = ReferenceCacheMap.soft(0, 0);
protected Codec getCodec(Codec codec) {
if (codec == null) {

Loading…
Cancel
Save