Home / Function/ polluteBranchIfEnabled() — netty Function Reference

polluteBranchIfEnabled() — netty Function Reference

Architecture documentation for the polluteBranchIfEnabled() function in HttpStatusValueOfBenchmark.java from the netty codebase.

Function java Buffer Allocators calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  233b5109_0cac_eb9c_b2cd_7b4c9af3e77f["polluteBranchIfEnabled()"]
  88c244e7_bc43_f51b_2540_6620aba96c77["HttpStatusValueOfBenchmark"]
  233b5109_0cac_eb9c_b2cd_7b4c9af3e77f -->|defined in| 88c244e7_bc43_f51b_2540_6620aba96c77
  641cf346_7100_49b5_c791_3a244846dcad["setup()"]
  641cf346_7100_49b5_c791_3a244846dcad -->|calls| 233b5109_0cac_eb9c_b2cd_7b4c9af3e77f
  c85c8d24_ffc1_460c_e549_6182159e3213["fillPolluteData()"]
  233b5109_0cac_eb9c_b2cd_7b4c9af3e77f -->|calls| c85c8d24_ffc1_460c_e549_6182159e3213
  style 233b5109_0cac_eb9c_b2cd_7b4c9af3e77f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

microbench/src/main/java/io/netty/handler/codec/http/HttpStatusValueOfBenchmark.java lines 125–132

    private static void polluteBranchIfEnabled(Blackhole bh, int[] polluteData) {
        if (ENABLE_POLLUTE) {
            fillPolluteData(polluteData);
            for (int code : polluteData) {
                bh.consume(HttpStatusClass.valueOf(code));
            }
        }
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does polluteBranchIfEnabled() do?
polluteBranchIfEnabled() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/handler/codec/http/HttpStatusValueOfBenchmark.java.
Where is polluteBranchIfEnabled() defined?
polluteBranchIfEnabled() is defined in microbench/src/main/java/io/netty/handler/codec/http/HttpStatusValueOfBenchmark.java at line 125.
What does polluteBranchIfEnabled() call?
polluteBranchIfEnabled() calls 1 function(s): fillPolluteData.
What calls polluteBranchIfEnabled()?
polluteBranchIfEnabled() is called by 1 function(s): setup.

Analyze Your Own Codebase

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

Try Supermodel Free