Home / Function/ handleLoopException() — netty Function Reference

handleLoopException() — netty Function Reference

Architecture documentation for the handleLoopException() function in IoUringIoHandler.java from the netty codebase.

Function java Buffer Search called by 1

Entity Profile

Dependency Diagram

graph TD
  359a5d6c_421e_c511_0fdf_290ebeb76e2b["handleLoopException()"]
  54b1e24c_acd2_7686_4313_2695f1b73de1["IoUringIoHandler"]
  359a5d6c_421e_c511_0fdf_290ebeb76e2b -->|defined in| 54b1e24c_acd2_7686_4313_2695f1b73de1
  3dd4563f_fb58_41cc_3ce1_aa727be6023e["handle()"]
  3dd4563f_fb58_41cc_3ce1_aa727be6023e -->|calls| 359a5d6c_421e_c511_0fdf_290ebeb76e2b
  style 359a5d6c_421e_c511_0fdf_290ebeb76e2b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringIoHandler.java lines 252–262

    private static void handleLoopException(Throwable throwable) {
        logger.warn("Unexpected exception in the IO event loop.", throwable);

        // Prevent possible consecutive immediate failures that lead to
        // excessive CPU consumption.
        try {
            Thread.sleep(100);
        } catch (InterruptedException ignore) {
            // ignore
        }
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does handleLoopException() do?
handleLoopException() is a function in the netty codebase, defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringIoHandler.java.
Where is handleLoopException() defined?
handleLoopException() is defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringIoHandler.java at line 252.
What calls handleLoopException()?
handleLoopException() is called by 1 function(s): handle.

Analyze Your Own Codebase

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

Try Supermodel Free