Home / Function/ jvmArgs() — netty Function Reference

jvmArgs() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  3cdddbb9_85c8_bb88_c8d7_0424617908aa["jvmArgs()"]
  c79b51b6_5774_48a2_56c0_7734c395523c["CompositeByteBufWriteOutBenchmark"]
  3cdddbb9_85c8_bb88_c8d7_0424617908aa -->|defined in| c79b51b6_5774_48a2_56c0_7734c395523c
  style 3cdddbb9_85c8_bb88_c8d7_0424617908aa fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

microbench/src/main/java/io/netty/buffer/CompositeByteBufWriteOutBenchmark.java lines 53–57

    @Override
    protected String[] jvmArgs() {
        // Ensure we minimize the GC overhead by sizing the heap big enough.
        return new String[] { "-XX:MaxDirectMemorySize=2g", "-Xmx4g", "-Xms4g", "-Xmn3g" };
    }

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/buffer/CompositeByteBufWriteOutBenchmark.java.
Where is jvmArgs() defined?
jvmArgs() is defined in microbench/src/main/java/io/netty/buffer/CompositeByteBufWriteOutBenchmark.java at line 53.

Analyze Your Own Codebase

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

Try Supermodel Free