Home / Function/ spinWaitCompletionOf() — netty Function Reference

spinWaitCompletionOf() — netty Function Reference

Architecture documentation for the spinWaitCompletionOf() function in BurstCostExecutorsBenchmark.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  cc81d8c1_743a_4ebb_a711_f38d36ab5698["spinWaitCompletionOf()"]
  896af492_7d6f_2782_9162_a58f217dc636["PerThreadState"]
  cc81d8c1_743a_4ebb_a711_f38d36ab5698 -->|defined in| 896af492_7d6f_2782_9162_a58f217dc636
  f613e735_da60_ce3e_dba8_b3a093d55921["executeBurst()"]
  f613e735_da60_ce3e_dba8_b3a093d55921 -->|calls| cc81d8c1_743a_4ebb_a711_f38d36ab5698
  style cc81d8c1_743a_4ebb_a711_f38d36ab5698 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

microbench/src/main/java/io/netty/microbench/concurrent/BurstCostExecutorsBenchmark.java lines 289–296

        public int spinWaitCompletionOf(int value) {
            while (true) {
                final int lastRead = this.completed;
                if (lastRead >= value) {
                    return lastRead;
                }
            }
        }

Domain

Subdomains

Called By

Frequently Asked Questions

What does spinWaitCompletionOf() do?
spinWaitCompletionOf() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/microbench/concurrent/BurstCostExecutorsBenchmark.java.
Where is spinWaitCompletionOf() defined?
spinWaitCompletionOf() is defined in microbench/src/main/java/io/netty/microbench/concurrent/BurstCostExecutorsBenchmark.java at line 289.
What calls spinWaitCompletionOf()?
spinWaitCompletionOf() is called by 1 function(s): executeBurst.

Analyze Your Own Codebase

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

Try Supermodel Free