ByteBuffer (Java SE 21 API)
NIO와 이벤트 루프 - 셀렉터, 다이렉트 버퍼, Netty가 대신 해주는 일
“It is therefore recommended that direct buffers be allocated primarily for large, long-lived buffers that are subject to the underlying system’s native I/O operations.” Direct vs. non-direct buffers사용자 공간과 커널 공간 - 시스템 콜, 복사, sendfile과 kTLS
참고 링크: Java SE 21 API: ByteBuffer
다이렉트 메모리와 Cleaner - 힙 밖의 버퍼는 누가 언제 해제하는가
참고 링크: Java SE 21 API: ByteBuffer