From 235a6470fb0afd7bd317179644e66294cfd825fc Mon Sep 17 00:00:00 2001 From: dougqh Date: Thu, 30 Jan 2020 17:45:40 -0500 Subject: [PATCH] googleJavaFormat --- .../agent/tooling/DDCachingPoolStrategy.java | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/dd-java-agent/agent-tooling/src/main/java/datadog/trace/agent/tooling/DDCachingPoolStrategy.java b/dd-java-agent/agent-tooling/src/main/java/datadog/trace/agent/tooling/DDCachingPoolStrategy.java index cc5165dfa8..1d4cccdb35 100644 --- a/dd-java-agent/agent-tooling/src/main/java/datadog/trace/agent/tooling/DDCachingPoolStrategy.java +++ b/dd-java-agent/agent-tooling/src/main/java/datadog/trace/agent/tooling/DDCachingPoolStrategy.java @@ -23,14 +23,15 @@ import net.bytebuddy.pool.TypePool; * * *

This design was chosen to create a single limited size cache that can be adjusted for the * entire application -- without having to create a large number of WeakReference objects. * - *

Eviction is handled almost entirely through a size restriction; however, - * softValues are still used as a further safeguard. + *

Eviction is handled almost entirely through a size restriction; however, softValues are still + * used as a further safeguard. */ @Slf4j public class DDCachingPoolStrategy implements PoolStrategy { @@ -118,13 +119,13 @@ public class DDCachingPoolStrategy implements PoolStrategy { } /** - * TypeCacheKey is key for the sharedResolutionCache. - * Conceptually, it is a mix of ClassLoader & class name. + * TypeCacheKey is key for the sharedResolutionCache. Conceptually, it is a mix of ClassLoader & + * class name. * - * For efficiency & GC purposes, it is actually composed of - * loaderHash & WeakReference<ClassLoader> + *

For efficiency & GC purposes, it is actually composed of loaderHash & + * WeakReference<ClassLoader> * - * The loaderHash exists to avoid calling get & strengthening the Reference. + *

The loaderHash exists to avoid calling get & strengthening the Reference. */ static final class TypeCacheKey { private final int loaderHash;