You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the ThreadLocalHelper.getTL(tl, lambda) encourages the passing of method reference/lambda created on the spot, which creates garbage. We should perhaps introduce a WeakThreadLocal class which will accept a supplier in the constructor, and also make reference type configurable (in some cases, soft reference may be preferable)
The text was updated successfully, but these errors were encountered:
Currently, the
ThreadLocalHelper.getTL(tl, lambda)
encourages the passing of method reference/lambda created on the spot, which creates garbage. We should perhaps introduce aWeakThreadLocal
class which will accept a supplier in the constructor, and also make reference type configurable (in some cases, soft reference may be preferable)The text was updated successfully, but these errors were encountered: