Home / Function/ isLiveNonVolatile() — netty Function Reference

isLiveNonVolatile() — netty Function Reference

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

Function java CommonUtil Internal calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  9bd9adbf_395c_5e93_a5eb_60f64bffe3a7["isLiveNonVolatile()"]
  a43fdad8_805c_4b48_edc8_5658c1df4216["UnsafeRefCnt"]
  9bd9adbf_395c_5e93_a5eb_60f64bffe3a7 -->|defined in| a43fdad8_805c_4b48_edc8_5658c1df4216
  76f11d1e_7572_363c_3f5a_dda142d3104d["isLiveNonVolatile()"]
  76f11d1e_7572_363c_3f5a_dda142d3104d -->|calls| 9bd9adbf_395c_5e93_a5eb_60f64bffe3a7
  065e7e3d_c04a_be25_3c09_f85fc66f9505["isLiveNonVolatile()"]
  065e7e3d_c04a_be25_3c09_f85fc66f9505 -->|calls| 9bd9adbf_395c_5e93_a5eb_60f64bffe3a7
  76f11d1e_7572_363c_3f5a_dda142d3104d["isLiveNonVolatile()"]
  9bd9adbf_395c_5e93_a5eb_60f64bffe3a7 -->|calls| 76f11d1e_7572_363c_3f5a_dda142d3104d
  style 9bd9adbf_395c_5e93_a5eb_60f64bffe3a7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/internal/RefCnt.java lines 468–474

        static boolean isLiveNonVolatile(RefCnt instance) {
            final int rawCnt = PlatformDependent.getInt(instance, VALUE_OFFSET);
            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 468.
What does isLiveNonVolatile() call?
isLiveNonVolatile() calls 1 function(s): isLiveNonVolatile.
What calls isLiveNonVolatile()?
isLiveNonVolatile() is called by 2 function(s): isLiveNonVolatile, isLiveNonVolatile.

Analyze Your Own Codebase

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

Try Supermodel Free