Home / Function/ testNoStackOverflowWithDefaultEventExecutorA() — netty Function Reference

testNoStackOverflowWithDefaultEventExecutorA() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  ddc20803_8c6f_f526_ad36_f7ff701a4bb8["testNoStackOverflowWithDefaultEventExecutorA()"]
  18d135a2_101c_bae7_e68f_dd4660e1fb75["DefaultPromiseTest"]
  ddc20803_8c6f_f526_ad36_f7ff701a4bb8 -->|defined in| 18d135a2_101c_bae7_e68f_dd4660e1fb75
  2c419d06_5fff_e041_a778_bbd0bca5ea10["testStackOverFlowChainedFuturesA()"]
  ddc20803_8c6f_f526_ad36_f7ff701a4bb8 -->|calls| 2c419d06_5fff_e041_a778_bbd0bca5ea10
  5f971e63_3644_1cc9_bf84_7bb3625c62cc["stackOverflowTestDepth()"]
  ddc20803_8c6f_f526_ad36_f7ff701a4bb8 -->|calls| 5f971e63_3644_1cc9_bf84_7bb3625c62cc
  817c8cdd_038c_e049_c910_fd52454e0e8d["shutdownGracefully()"]
  ddc20803_8c6f_f526_ad36_f7ff701a4bb8 -->|calls| 817c8cdd_038c_e049_c910_fd52454e0e8d
  59607e85_dd53_b027_c3ee_d37d5c9377b6["shutdown()"]
  ddc20803_8c6f_f526_ad36_f7ff701a4bb8 -->|calls| 59607e85_dd53_b027_c3ee_d37d5c9377b6
  style ddc20803_8c6f_f526_ad36_f7ff701a4bb8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/test/java/io/netty/util/concurrent/DefaultPromiseTest.java lines 206–220

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

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free