testStackOverFlowChainedFuturesB() — netty Function Reference
Architecture documentation for the testStackOverFlowChainedFuturesB() function in DefaultPromiseTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD cb262961_c18b_c6b0_ccf5_ff8e1d54a58d["testStackOverFlowChainedFuturesB()"] 18d135a2_101c_bae7_e68f_dd4660e1fb75["DefaultPromiseTest"] cb262961_c18b_c6b0_ccf5_ff8e1d54a58d -->|defined in| 18d135a2_101c_bae7_e68f_dd4660e1fb75 df445981_e6da_bccd_fb45_6abaf313a582["testNoStackOverflowWithImmediateEventExecutorB()"] df445981_e6da_bccd_fb45_6abaf313a582 -->|calls| cb262961_c18b_c6b0_ccf5_ff8e1d54a58d 7ac44f09_fa8d_0c8a_bba0_0c0e7d19cb15["testNoStackOverflowWithDefaultEventExecutorB()"] 7ac44f09_fa8d_0c8a_bba0_0c0e7d19cb15 -->|calls| cb262961_c18b_c6b0_ccf5_ff8e1d54a58d 8a5571f5_2006_3c17_8a8a_593a884241a7["execute()"] cb262961_c18b_c6b0_ccf5_ff8e1d54a58d -->|calls| 8a5571f5_2006_3c17_8a8a_593a884241a7 91d7c04c_78df_5079_c536_a87d3e68b6fb["run()"] cb262961_c18b_c6b0_ccf5_ff8e1d54a58d -->|calls| 91d7c04c_78df_5079_c536_a87d3e68b6fb style cb262961_c18b_c6b0_ccf5_ff8e1d54a58d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/test/java/io/netty/util/concurrent/DefaultPromiseTest.java lines 436–457
private static void testStackOverFlowChainedFuturesB(int promiseChainLength, final EventExecutor executor,
boolean runTestInExecutorThread)
throws InterruptedException {
final Promise<Void>[] p = new DefaultPromise[promiseChainLength];
final CountDownLatch latch = new CountDownLatch(promiseChainLength);
if (runTestInExecutorThread) {
executor.execute(new Runnable() {
@Override
public void run() {
testStackOverFlowChainedFuturesB(executor, p, latch);
}
});
} else {
testStackOverFlowChainedFuturesB(executor, p, latch);
}
assertTrue(latch.await(2, TimeUnit.SECONDS));
for (int i = 0; i < p.length; ++i) {
assertTrue(p[i].isSuccess(), "index " + i);
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does testStackOverFlowChainedFuturesB() do?
testStackOverFlowChainedFuturesB() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/concurrent/DefaultPromiseTest.java.
Where is testStackOverFlowChainedFuturesB() defined?
testStackOverFlowChainedFuturesB() is defined in common/src/test/java/io/netty/util/concurrent/DefaultPromiseTest.java at line 436.
What does testStackOverFlowChainedFuturesB() call?
testStackOverFlowChainedFuturesB() calls 2 function(s): execute, run.
What calls testStackOverFlowChainedFuturesB()?
testStackOverFlowChainedFuturesB() is called by 2 function(s): testNoStackOverflowWithDefaultEventExecutorB, testNoStackOverflowWithImmediateEventExecutorB.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free