[Bytebytego] EP211: How the JVM Works
Nguồn: blog.bytebytego.com Tóm tắt Newsletter EP211 của ByteByteGo tổng hợp nhiều chủ đề system design, trọng tâm là kiến trúc JVM (Java Virtual Machine). JVM là một layered runtime: bytecode được compile từ Java source, sau đó được interpreter thực thi hoặc JIT-compiled sang native machine code ở hot paths. Class loading, memory model (heap/metaspace/stack), và garbage collection là ba thành phần kiến trúc chính cần hiểu. JVM heap được chia thành các generation: Young Generation (Eden + Survivor spaces) chứa object mới, Old Generation (Tenured) chứa object sống lâu....