freeDirectBufferPrivileged() — netty Function Reference
Architecture documentation for the freeDirectBufferPrivileged() function in CleanerJava6.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 1ba54708_ba19_1616_dd30_41ba2b85f301["freeDirectBufferPrivileged()"] 1564949e_7b20_a607_8b35_54b91bcfcece["CleanerJava6"] 1ba54708_ba19_1616_dd30_41ba2b85f301 -->|defined in| 1564949e_7b20_a607_8b35_54b91bcfcece 982894c8_322b_1556_6f75_75e35426ea7a["freeDirectBufferStatic()"] 982894c8_322b_1556_6f75_75e35426ea7a -->|calls| 1ba54708_ba19_1616_dd30_41ba2b85f301 64a7314f_e672_b2e8_8c8b_dbb105cac971["freeDirectBuffer0()"] 1ba54708_ba19_1616_dd30_41ba2b85f301 -->|calls| 64a7314f_e672_b2e8_8c8b_dbb105cac971 style 1ba54708_ba19_1616_dd30_41ba2b85f301 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/main/java/io/netty/util/internal/CleanerJava6.java lines 128–143
private static void freeDirectBufferPrivileged(final ByteBuffer buffer) {
Throwable cause = AccessController.doPrivileged(new PrivilegedAction<Throwable>() {
@Override
public Throwable run() {
try {
freeDirectBuffer0(buffer);
return null;
} catch (Throwable cause) {
return cause;
}
}
});
if (cause != null) {
PlatformDependent0.throwException(cause);
}
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does freeDirectBufferPrivileged() do?
freeDirectBufferPrivileged() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/internal/CleanerJava6.java.
Where is freeDirectBufferPrivileged() defined?
freeDirectBufferPrivileged() is defined in common/src/main/java/io/netty/util/internal/CleanerJava6.java at line 128.
What does freeDirectBufferPrivileged() call?
freeDirectBufferPrivileged() calls 1 function(s): freeDirectBuffer0.
What calls freeDirectBufferPrivileged()?
freeDirectBufferPrivileged() is called by 1 function(s): freeDirectBufferStatic.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free