Home / Class/ AllocationPatternSimulator Class — netty Architecture

AllocationPatternSimulator Class — netty Architecture

Architecture documentation for the AllocationPatternSimulator class in AllocationPatternSimulator.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  4ed8382e_6455_1b00_c128_dbdce6457ea2["AllocationPatternSimulator"]
  c9fb080e_e943_3d97_be1a_c8039258e2c5["AllocationPatternSimulator.java"]
  4ed8382e_6455_1b00_c128_dbdce6457ea2 -->|defined in| c9fb080e_e943_3d97_be1a_c8039258e2c5
  eed6d081_2fa9_2b93_44a4_f9f70f42baae["main()"]
  4ed8382e_6455_1b00_c128_dbdce6457ea2 -->|method| eed6d081_2fa9_2b93_44a4_f9f70f42baae
  9430fd3e_72f7_1b4d_f910_2ccc294c3371["buildPattern()"]
  4ed8382e_6455_1b00_c128_dbdce6457ea2 -->|method| 9430fd3e_72f7_1b4d_f910_2ccc294c3371
  c598313a_b2a4_c62a_401d_b75b68b0adda["Path()"]
  4ed8382e_6455_1b00_c128_dbdce6457ea2 -->|method| c598313a_b2a4_c62a_401d_b75b68b0adda
  6dbc25d0_e067_4e19_7878_9bbd68b01803["setUp()"]
  4ed8382e_6455_1b00_c128_dbdce6457ea2 -->|method| 6dbc25d0_e067_4e19_7878_9bbd68b01803
  76ec3af2_8878_9d60_39b7_18461aa6fefd["run()"]
  4ed8382e_6455_1b00_c128_dbdce6457ea2 -->|method| 76ec3af2_8878_9d60_39b7_18461aa6fefd

Relationship Graph

Source Code

microbench/src/main/java/io/netty/buffer/AllocationPatternSimulator.java lines 49–698

public class AllocationPatternSimulator {
    /**
     * An allocation pattern derived from a web socket proxy service.
     */
    private static final int[] WEB_SOCKET_PROXY_PATTERN = {
            // Size, Frequency
            9, 316,
            13, 3,
            15, 10344,
            17, 628,
            21, 316,
            36, 338,
            48, 338,
            64, 23,
            128, 17,
            256, 21272,
            287, 69,
            304, 65,
            331, 11,
            332, 7,
            335, 2,
            343, 2,
            362, 1,
            363, 16,
            365, 17,
            370, 11,
            371, 51,
            392, 11,
            393, 4,
            396, 3,
            401, 1,
            402, 3,
            413, 1,
            414, 2,
            419, 16,
            421, 1,
            423, 16,
            424, 46,
            433, 1,
            435, 1,
            439, 3,
            441, 13,
            444, 3,
            449, 1,
            450, 1,
            453, 2,
            455, 3,
            458, 3,
            462, 7,
            463, 8,
            464, 1,
            466, 59,
            470, 1,
            472, 2,
            475, 1,
            478, 2,
            480, 12,
            481, 16,
            482, 2,
            483, 2,
            486, 1,
            489, 2,
            493, 2,
            494, 1,
            495, 1,
            497, 14,
            498, 1,
            499, 2,
            500, 58,
            503, 1,
            507, 1,
            509, 2,
            510, 2,
            511, 13,
            512, 3,
            513, 4,
            516, 1,
            519, 2,
            520, 1,
            522, 5,
            523, 1,

Frequently Asked Questions

What is the AllocationPatternSimulator class?
AllocationPatternSimulator is a class in the netty codebase, defined in microbench/src/main/java/io/netty/buffer/AllocationPatternSimulator.java.
Where is AllocationPatternSimulator defined?
AllocationPatternSimulator is defined in microbench/src/main/java/io/netty/buffer/AllocationPatternSimulator.java at line 49.

Analyze Your Own Codebase

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

Try Supermodel Free