This is an automated email from the ASF dual-hosted git repository.
dlmarion pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo-classloaders.git
The following commit(s) were added to refs/heads/main by this push:
new afd9fa5 Remove scheduler from weak values cache in dedupe cache
object (#42)
afd9fa5 is described below
commit afd9fa532c96860ed727bf6a9bafac362f48ae6d
Author: Dave Marion <[email protected]>
AuthorDate: Thu Jan 15 09:46:43 2026 -0500
Remove scheduler from weak values cache in dedupe cache object (#42)
---
.../org/apache/accumulo/classloader/lcc/util/DeduplicationCache.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/modules/local-caching-classloader/src/main/java/org/apache/accumulo/classloader/lcc/util/DeduplicationCache.java
b/modules/local-caching-classloader/src/main/java/org/apache/accumulo/classloader/lcc/util/DeduplicationCache.java
index 3a1c6c8..54b3a1f 100644
---
a/modules/local-caching-classloader/src/main/java/org/apache/accumulo/classloader/lcc/util/DeduplicationCache.java
+++
b/modules/local-caching-classloader/src/main/java/org/apache/accumulo/classloader/lcc/util/DeduplicationCache.java
@@ -57,8 +57,8 @@ public class DeduplicationCache<KEY,PARAMS,VALUE> {
logListener.onRemoval(key, value, cause);
listener.onRemoval(key, value, cause);
};
- this.canonicalWeakValuesCache = Caffeine.newBuilder().weakValues()
-
.evictionListener(actualListener).scheduler(Scheduler.systemScheduler()).build();
+ this.canonicalWeakValuesCache =
+
Caffeine.newBuilder().weakValues().evictionListener(actualListener).build();
this.expireAfterAccessStrongRefs =
Caffeine.newBuilder().expireAfterAccess(requireNonNull(minLifetime))
.evictionListener(actualListener).scheduler(Scheduler.systemScheduler()).build();