File tree Expand file tree Collapse file tree
dd-trace-core/src/main/java/datadog/trace/common/writer/ddagent Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33import datadog .communication .serialization .EncodingCache ;
44import datadog .trace .common .writer .ddagent .SimpleUtf8Cache .CacheEntry ;
55import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
6-
76import java .nio .charset .StandardCharsets ;
87
98/**
6665 * provide better cache utilization.
6766 */
6867@ SuppressFBWarnings (
69- value ="IS2_INCONSISTENT_SYNC" ,
70- justification ="stat updates are deliberately racy - sync is only used to prevent simultaneous bulk updates" )
68+ value = "IS2_INCONSISTENT_SYNC" ,
69+ justification =
70+ "stat updates are deliberately racy - sync is only used to prevent simultaneous bulk updates" )
7171public final class GenerationalUtf8Cache implements EncodingCache {
7272 static final int MAX_EDEN_CAPACITY = 512 ;
7373 static final int MAX_TENURED_CAPACITY = 1024 ;
You can’t perform that action at this time.
0 commit comments