mixedAttributeIdentityHashMap() — netty Function Reference
Architecture documentation for the mixedAttributeIdentityHashMap() function in DefaultAttributeMapBenchmark.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 192460d4_8e86_5270_826c_f33f48ae7cda["mixedAttributeIdentityHashMap()"] 4d58d226_11dd_ffeb_a5a9_d53d9ae0abd8["DefaultAttributeMapBenchmark"] 192460d4_8e86_5270_826c_f33f48ae7cda -->|defined in| 4d58d226_11dd_ffeb_a5a9_d53d9ae0abd8 db627e49_bb30_c552_0eea_7aeb551fefe2["next()"] 192460d4_8e86_5270_826c_f33f48ae7cda -->|calls| db627e49_bb30_c552_0eea_7aeb551fefe2 style 192460d4_8e86_5270_826c_f33f48ae7cda fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
microbench/src/main/java/io/netty/util/DefaultAttributeMapBenchmark.java lines 92–103
@Benchmark
@Threads(3)
public void mixedAttributeIdentityHashMap(KeySequence sequence, Blackhole hole) {
long next = sequence.next();
AttributeKey<Integer>[] keys = this.keys;
AttributeKey<Integer> key = keys[(int) (next & keys.length - 1)];
if (next % 2 == 0) {
hole.consume(identityHashMap.get(key));
} else {
hole.consume(identityHashMap.containsKey(key));
}
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does mixedAttributeIdentityHashMap() do?
mixedAttributeIdentityHashMap() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/util/DefaultAttributeMapBenchmark.java.
Where is mixedAttributeIdentityHashMap() defined?
mixedAttributeIdentityHashMap() is defined in microbench/src/main/java/io/netty/util/DefaultAttributeMapBenchmark.java at line 92.
What does mixedAttributeIdentityHashMap() call?
mixedAttributeIdentityHashMap() calls 1 function(s): next.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free