Home / Function/ executeBurst() — netty Function Reference

executeBurst() — netty Function Reference

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

Function java Buffer Telemetry calls 3 called by 3

Entity Profile

Dependency Diagram

graph TD
  f613e735_da60_ce3e_dba8_b3a093d55921["executeBurst()"]
  1e2b3bde_093d_e848_9b56_b6d1ef72c773["BurstCostExecutorsBenchmark"]
  f613e735_da60_ce3e_dba8_b3a093d55921 -->|defined in| 1e2b3bde_093d_e848_9b56_b6d1ef72c773
  e2bcf578_9fe6_2bab_fe5d_e5bf915516dc["test1Producer()"]
  e2bcf578_9fe6_2bab_fe5d_e5bf915516dc -->|calls| f613e735_da60_ce3e_dba8_b3a093d55921
  e3feb857_8b31_02a8_697f_f71c8e796ee5["test2Producers()"]
  e3feb857_8b31_02a8_697f_f71c8e796ee5 -->|calls| f613e735_da60_ce3e_dba8_b3a093d55921
  0c587ec6_d735_da5a_dcec_8a51c459e5e7["test3Producers()"]
  0c587ec6_d735_da5a_dcec_8a51c459e5e7 -->|calls| f613e735_da60_ce3e_dba8_b3a093d55921
  013e0add_b983_534c_ed80_88183c7cfc6f["execute()"]
  f613e735_da60_ce3e_dba8_b3a093d55921 -->|calls| 013e0add_b983_534c_ed80_88183c7cfc6f
  cc81d8c1_743a_4ebb_a711_f38d36ab5698["spinWaitCompletionOf()"]
  f613e735_da60_ce3e_dba8_b3a093d55921 -->|calls| cc81d8c1_743a_4ebb_a711_f38d36ab5698
  ceb292d6_44ba_a8b2_76fb_0df3236e3a9a["resetCompleted()"]
  f613e735_da60_ce3e_dba8_b3a093d55921 -->|calls| ceb292d6_44ba_a8b2_76fb_0df3236e3a9a
  style f613e735_da60_ce3e_dba8_b3a093d55921 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

microbench/src/main/java/io/netty/microbench/concurrent/BurstCostExecutorsBenchmark.java lines 320–330

    private int executeBurst(final PerThreadState state) {
        final ExecutorService executor = this.executor;
        final int burstLength = this.burstLength;
        final Runnable completeTask = state.completeTask;
        for (int i = 0; i < burstLength; i++) {
            executor.execute(completeTask);
        }
        final int value = state.spinWaitCompletionOf(burstLength);
        state.resetCompleted();
        return value;
    }

Domain

Subdomains

Frequently Asked Questions

What does executeBurst() do?
executeBurst() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/microbench/concurrent/BurstCostExecutorsBenchmark.java.
Where is executeBurst() defined?
executeBurst() is defined in microbench/src/main/java/io/netty/microbench/concurrent/BurstCostExecutorsBenchmark.java at line 320.
What does executeBurst() call?
executeBurst() calls 3 function(s): execute, resetCompleted, spinWaitCompletionOf.
What calls executeBurst()?
executeBurst() is called by 3 function(s): test1Producer, test2Producers, test3Producers.

Analyze Your Own Codebase

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

Try Supermodel Free