Home / Function/ jvmArgs() — netty Function Reference

jvmArgs() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

microbench/src/main/java/io/netty/microbench/internal/UnitializedArrayBenchmark.java lines 56–62

    @Override
    protected String[] jvmArgs() {
        // Ensure we minimize the GC overhead for this benchmark and also open up required package.
        // See also https://shipilev.net/jvm-anatomy-park/7-initialization-costs/
        return new String[] { "-XX:+UseParallelOldGC", "-Xmx8g", "-Xms8g",
                "-Xmn6g", "--add-opens", "java.base/jdk.internal.misc=ALL-UNNAMED" };
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free