Home / Function/ stackOverflowTestDepth() — netty Function Reference

stackOverflowTestDepth() — netty Function Reference

Architecture documentation for the stackOverflowTestDepth() function in DefaultPromiseTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  5f971e63_3644_1cc9_bf84_7bb3625c62cc["stackOverflowTestDepth()"]
  18d135a2_101c_bae7_e68f_dd4660e1fb75["DefaultPromiseTest"]
  5f971e63_3644_1cc9_bf84_7bb3625c62cc -->|defined in| 18d135a2_101c_bae7_e68f_dd4660e1fb75
  f4529a19_5735_b09f_69b7_721196b5ede6["testStackOverflowWithImmediateEventExecutorA()"]
  f4529a19_5735_b09f_69b7_721196b5ede6 -->|calls| 5f971e63_3644_1cc9_bf84_7bb3625c62cc
  ddc20803_8c6f_f526_ad36_f7ff701a4bb8["testNoStackOverflowWithDefaultEventExecutorA()"]
  ddc20803_8c6f_f526_ad36_f7ff701a4bb8 -->|calls| 5f971e63_3644_1cc9_bf84_7bb3625c62cc
  df445981_e6da_bccd_fb45_6abaf313a582["testNoStackOverflowWithImmediateEventExecutorB()"]
  df445981_e6da_bccd_fb45_6abaf313a582 -->|calls| 5f971e63_3644_1cc9_bf84_7bb3625c62cc
  7ac44f09_fa8d_0c8a_bba0_0c0e7d19cb15["testNoStackOverflowWithDefaultEventExecutorB()"]
  7ac44f09_fa8d_0c8a_bba0_0c0e7d19cb15 -->|calls| 5f971e63_3644_1cc9_bf84_7bb3625c62cc
  style 5f971e63_3644_1cc9_bf84_7bb3625c62cc fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/test/java/io/netty/util/concurrent/DefaultPromiseTest.java lines 69–71

    private static int stackOverflowTestDepth() {
        return max(stackOverflowDepth << 1, stackOverflowDepth);
    }

Domain

Subdomains

Frequently Asked Questions

What does stackOverflowTestDepth() do?
stackOverflowTestDepth() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/concurrent/DefaultPromiseTest.java.
Where is stackOverflowTestDepth() defined?
stackOverflowTestDepth() is defined in common/src/test/java/io/netty/util/concurrent/DefaultPromiseTest.java at line 69.
What calls stackOverflowTestDepth()?
stackOverflowTestDepth() is called by 4 function(s): testNoStackOverflowWithDefaultEventExecutorA, testNoStackOverflowWithDefaultEventExecutorB, testNoStackOverflowWithImmediateEventExecutorB, testStackOverflowWithImmediateEventExecutorA.

Analyze Your Own Codebase

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

Try Supermodel Free