Home / Function/ setupTrial() — netty Function Reference

setupTrial() — netty Function Reference

Architecture documentation for the setupTrial() function in UnitializedArrayBenchmark.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  5f0c7985_064d_2a60_73a1_8cc034cf602e["setupTrial()"]
  20e7a433_e09a_ab9f_8df1_d8607aa2d541["UnitializedArrayBenchmark"]
  5f0c7985_064d_2a60_73a1_8cc034cf602e -->|defined in| 20e7a433_e09a_ab9f_8df1_d8607aa2d541
  style 5f0c7985_064d_2a60_73a1_8cc034cf602e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

microbench/src/main/java/io/netty/microbench/internal/UnitializedArrayBenchmark.java lines 46–54

    @Setup(Level.Trial)
    public void setupTrial() {
        if (PlatformDependent.javaVersion() < 9) {
            throw new IllegalStateException("Needs Java9");
        }
        if (!PlatformDependent.hasUnsafe()) {
            throw new IllegalStateException("Needs Unsafe");
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does setupTrial() do?
setupTrial() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/microbench/internal/UnitializedArrayBenchmark.java.
Where is setupTrial() defined?
setupTrial() is defined in microbench/src/main/java/io/netty/microbench/internal/UnitializedArrayBenchmark.java at line 46.

Analyze Your Own Codebase

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

Try Supermodel Free