1. 2.63 启动原理historical

    本文从 Spring Boot 应用的启动语句开始,沿调用链追踪启动过程,并略去简单的嵌套调用。

  2. 2.64 创建Executorhistorical

    本文追踪 Netty 创建 Executor 的过程,从线程工厂开始查看线程执行器的初始化。

  3. 2.65 2.创建NioSocketChannelhistorical

    Netty 接收 Java NIO 的客户端连接后,把它包装为 NioSocketChannel。笔记追踪这个对象及父类的构造过程。

  4. 2.66 添加删除ChannelHandlerhistorical

    本文从 DefaultChannelPipeline 的 addLast 等方法开始,追踪 ChannelHandler 的添加、检查和删除过程。

  5. 2.67 2.服务端初始化historical

    本文沿 bind 与 doBind 的调用过程,追踪 Netty 服务端初始化时完成的工作。

  6. 2.68 2.调用BeanFactoryPostProcessor的postProcess方法historical

    Spring 容器刷新时会调用 BeanFactoryPostProcessor。笔记从 invokeBeanFactoryPostProcessors 开始,追踪这些处理器的执行过程。

  7. 2.69 自动配置原理historical

    @SpringBootApplication 关联 @EnableAutoConfiguration 等注解。笔记从这些入口追踪 Spring Boot 自动配置如何生效。

  8. 2.70 创建NioEventLoop数组historical

    NioEventLoopGroup 通过 newChild 创建各个 NioEventLoop。笔记沿这一调用查看事件循环数组的初始化。

  9. 2.71 3.分配线程及注册selectorhistorical

    新连接经过 Pipeline 传播后,需要分配处理线程并注册 Selector。笔记从接收连接的方法开始追踪相关调用。

  10. 2.72 3.注册selectorhistorical

    本文从服务端启动的 bind 调用出发,追踪 Channel 如何关联事件循环并注册到 Selector。