Home / Function/ isLiveNonVolatile() — netty Function Reference

isLiveNonVolatile() — netty Function Reference

Architecture documentation for the isLiveNonVolatile() function in RefCnt.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  150518bc_e096_7725_ae26_2e621724a844["isLiveNonVolatile()"]
  f3598a09_a371_18eb_921b_dedcb34850b7["VarHandleRefCnt"]
  150518bc_e096_7725_ae26_2e621724a844 -->|defined in| f3598a09_a371_18eb_921b_dedcb34850b7
  76f11d1e_7572_363c_3f5a_dda142d3104d["isLiveNonVolatile()"]
  150518bc_e096_7725_ae26_2e621724a844 -->|calls| 76f11d1e_7572_363c_3f5a_dda142d3104d
  style 150518bc_e096_7725_ae26_2e621724a844 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/internal/RefCnt.java lines 384–390

        static boolean isLiveNonVolatile(RefCnt instance) {
            final int rawCnt = (int) VH.get(instance);
            if (rawCnt == 2) {
                return true;
            }
            return (rawCnt & 1) == 0;
        }

Domain

Subdomains

Frequently Asked Questions

What does isLiveNonVolatile() do?
isLiveNonVolatile() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/internal/RefCnt.java.
Where is isLiveNonVolatile() defined?
isLiveNonVolatile() is defined in common/src/main/java/io/netty/util/internal/RefCnt.java at line 384.
What does isLiveNonVolatile() call?
isLiveNonVolatile() calls 1 function(s): isLiveNonVolatile.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free