finds.dev← search

// the find

fenixsoft/jvm_book

★ 1,403 · Java · updated May 2022

《深入理解Java虚拟机(第3版)》样例代码&勘误

Sample code and errata tracker for '深入理解Java虚拟机 (第3版)' — Zhou Zhiming's definitive Chinese-language book on the JVM internals. If you're reading that book, this repo exists so you can run the examples yourself rather than copying from print. It's not useful without the book.

The errata list is unusually thorough and well-maintained — dozens of corrections tracked across 10+ print runs with precise page numbers and original vs. corrected text. The code is organized by chapter, which maps directly to the book's structure and makes it easy to find what you're looking for. A few examples (InvokeDynamicTest, HotSwapClassLoader, NameCheckProcessor) are genuinely non-trivial and worth running to see the JVM behavior the book describes.

Last pushed in May 2022, so anything JDK 17+ (virtual threads, ZGC production-ready, pattern matching) is absent — the book was written for JDK 11 era and the samples show it. No build system at all: raw .java files and a lib/ directory with hand-vendored JARs, so you're compiling manually or setting up your own project. The repo is only useful as a companion to a physical book most readers outside China will struggle to get; on its own it's context-free snippets. Coverage is also patchy — several chapters from the book (notably the JIT compilation chapters) have no corresponding samples.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →