addToVariablesToRemove() — netty Function Reference
Architecture documentation for the addToVariablesToRemove() function in FastThreadLocal.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 4e211cb3_deeb_f3a6_e938_836baec61ba0["addToVariablesToRemove()"] dc6344c3_40c4_25b8_2eda_8ec5bb8163b3["FastThreadLocal"] 4e211cb3_deeb_f3a6_e938_836baec61ba0 -->|defined in| dc6344c3_40c4_25b8_2eda_8ec5bb8163b3 277e015e_1062_f2b5_7f17_dacb7cb7fec5["V()"] 277e015e_1062_f2b5_7f17_dacb7cb7fec5 -->|calls| 4e211cb3_deeb_f3a6_e938_836baec61ba0 style 4e211cb3_deeb_f3a6_e938_836baec61ba0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/main/java/io/netty/util/concurrent/FastThreadLocal.java lines 98–110
@SuppressWarnings("unchecked")
private static void addToVariablesToRemove(InternalThreadLocalMap threadLocalMap, FastThreadLocal<?> variable) {
Object v = threadLocalMap.indexedVariable(VARIABLES_TO_REMOVE_INDEX);
Set<FastThreadLocal<?>> variablesToRemove;
if (v == InternalThreadLocalMap.UNSET || v == null) {
variablesToRemove = Collections.newSetFromMap(new IdentityHashMap<FastThreadLocal<?>, Boolean>());
threadLocalMap.setIndexedVariable(VARIABLES_TO_REMOVE_INDEX, variablesToRemove);
} else {
variablesToRemove = (Set<FastThreadLocal<?>>) v;
}
variablesToRemove.add(variable);
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does addToVariablesToRemove() do?
addToVariablesToRemove() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/concurrent/FastThreadLocal.java.
Where is addToVariablesToRemove() defined?
addToVariablesToRemove() is defined in common/src/main/java/io/netty/util/concurrent/FastThreadLocal.java at line 98.
What calls addToVariablesToRemove()?
addToVariablesToRemove() is called by 1 function(s): V.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free