dlmarion commented on code in PR #40:
URL: 
https://github.com/apache/accumulo-classloaders/pull/40#discussion_r2691123664


##########
modules/local-caching-classloader/src/main/java/org/apache/accumulo/classloader/lcc/util/DeduplicationCache.java:
##########
@@ -51,6 +69,7 @@ public VALUE computeIfAbsent(final KEY key, final 
Supplier<PARAMS> params) {
   }
 
   public boolean anyMatch(final Predicate<KEY> keyPredicate) {
+    canonicalWeakValuesCache.cleanUp();

Review Comment:
   We may want to add a `.scheduler` call on the `canonicalWeakValuesCache` 
also, in case `anyMatch` is not called for a long time.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to