Java
234 notes
Some notes are currently available only in Chinese. English translations are shown when available.
- ByteBufAllocatorhistorical
ByteBufAllocator class hierarchy, AbstractByteBufAllocator, unpooled allocation, and pooled allocation
- 2.2 When Does AnnotationAwareAspectJAutoProxyCreator Take Effect?historical
Trace postProcessBeforeInstantiation and postProcessAfterInitialization while creating singleton Beans
- 2.91 3. Register the Channelhistorical
Select a NioEventLoop, create a ChannelPromise/Future, register the channel through Unsafe with the JDK NIO selector, and invoke handlerAdded/initChannel callbacks.
- Exception Eventshistorical
1. Prepare experiment data 2. Start debugging 3-7. Propagate the exception through handlers to TailContext
- Usagehistorical
Historical example of allocating, reading, writing, and releasing a pooled direct ByteBuf
- 2.3 How AnnotationAwareAspectJAutoProxyCreator Creates Proxy Objectshistorical
Trace to postProcessBeforeInstantiation, determine whether a proxy is needed, wrap the Bean with advisors, and create JDK/CGLIB proxies
- 2.4 How the Target Method Is Executedhistorical
Invoke Calc.div, enter the proxy intercept method, build the interceptor chain, and execute interceptors plus the target method
- PooledByteBufAllocatorhistorical
newDirectBuffer, PoolThreadLocalCache, PoolThreadCache, and PoolArena