Home / Function/ testNoStackOverflowWithDefaultEventExecutorB() — netty Function Reference

testNoStackOverflowWithDefaultEventExecutorB() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  7ac44f09_fa8d_0c8a_bba0_0c0e7d19cb15["testNoStackOverflowWithDefaultEventExecutorB()"]
  18d135a2_101c_bae7_e68f_dd4660e1fb75["DefaultPromiseTest"]
  7ac44f09_fa8d_0c8a_bba0_0c0e7d19cb15 -->|defined in| 18d135a2_101c_bae7_e68f_dd4660e1fb75
  cb262961_c18b_c6b0_ccf5_ff8e1d54a58d["testStackOverFlowChainedFuturesB()"]
  7ac44f09_fa8d_0c8a_bba0_0c0e7d19cb15 -->|calls| cb262961_c18b_c6b0_ccf5_ff8e1d54a58d
  5f971e63_3644_1cc9_bf84_7bb3625c62cc["stackOverflowTestDepth()"]
  7ac44f09_fa8d_0c8a_bba0_0c0e7d19cb15 -->|calls| 5f971e63_3644_1cc9_bf84_7bb3625c62cc
  817c8cdd_038c_e049_c910_fd52454e0e8d["shutdownGracefully()"]
  7ac44f09_fa8d_0c8a_bba0_0c0e7d19cb15 -->|calls| 817c8cdd_038c_e049_c910_fd52454e0e8d
  59607e85_dd53_b027_c3ee_d37d5c9377b6["shutdown()"]
  7ac44f09_fa8d_0c8a_bba0_0c0e7d19cb15 -->|calls| 59607e85_dd53_b027_c3ee_d37d5c9377b6
  style 7ac44f09_fa8d_0c8a_bba0_0c0e7d19cb15 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/test/java/io/netty/util/concurrent/DefaultPromiseTest.java lines 228–242

    @Test
    public void testNoStackOverflowWithDefaultEventExecutorB() throws Exception {
        ExecutorService executorService = Executors.newSingleThreadExecutor();
        try {
            EventExecutor executor = new DefaultEventExecutor(executorService);
            try {
                testStackOverFlowChainedFuturesB(stackOverflowTestDepth(), executor, true);
                testStackOverFlowChainedFuturesB(stackOverflowTestDepth(), executor, false);
            } finally {
                executor.shutdownGracefully(0, 0, TimeUnit.MILLISECONDS);
            }
        } finally {
            executorService.shutdown();
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does testNoStackOverflowWithDefaultEventExecutorB() do?
testNoStackOverflowWithDefaultEventExecutorB() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/concurrent/DefaultPromiseTest.java.
Where is testNoStackOverflowWithDefaultEventExecutorB() defined?
testNoStackOverflowWithDefaultEventExecutorB() is defined in common/src/test/java/io/netty/util/concurrent/DefaultPromiseTest.java at line 228.
What does testNoStackOverflowWithDefaultEventExecutorB() call?
testNoStackOverflowWithDefaultEventExecutorB() calls 4 function(s): shutdown, shutdownGracefully, stackOverflowTestDepth, testStackOverFlowChainedFuturesB.

Analyze Your Own Codebase

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

Try Supermodel Free