From 023710722c22edbeace65c8a4aa848f969fd8acd Mon Sep 17 00:00:00 2001 From: Willem Date: Sat, 15 Oct 2022 17:02:14 +0200 Subject: [PATCH] added todo --- .../main/java/love/distributedrebirth/bassboonyd/BãßBȍőn.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboonyd/BãßBȍőn.java b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboonyd/BãßBȍőn.java index 7503156d..4edc5ab9 100644 --- a/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboonyd/BãßBȍőn.java +++ b/gdxapp4d-lib-bassboonyd/src/main/java/love/distributedrebirth/bassboonyd/BãßBȍőn.java @@ -1,7 +1,7 @@ package love.distributedrebirth.bassboonyd; -import java.util.HashMap; import java.util.Map; +import java.util.WeakHashMap; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReadWriteLock; import java.util.concurrent.locks.ReentrantReadWriteLock; @@ -13,7 +13,7 @@ import love.distributedrebirth.bassboonyd.info.BãßBȍőnAuthor注; public interface BãßBȍőn { static class Ꝑŕḯṿª₮ḕ implements BãßBȍőnꝐŕḯṿª₮ḕ { - private static final Map> GRAVE_YARD = new HashMap<>(); + private static final Map> GRAVE_YARD = new WeakHashMap<>(); // TODO: test bean gc private static final ReadWriteLock FUNERAL = new ReentrantReadWriteLock(); @SafeVarargs