Ask HN: Best Books on the JVM?
I've worked on JVM languages for a decade, and know it from a practical standpoint, but would like to dive into the internals of garbage collection, memory pools (eden space, survivor space), and threads (virtual threads, green threads, etc)
6 comments
[ 3.5 ms ] story [ 21.2 ms ] thread[0] https://www.goodreads.com/book/show/27015350-optimizing-java
"Garbage Collection: Algorithms for Automatic Dynamic Memory Management" (https://www.amazon.com/Garbage-Collection-Algorithms-Automat...) seems to cover GC algorithms up to the CMS.
"The Art of Multiprocessor Programming" (https://www.amazon.com/Art-Multiprocessor-Programming-Mauric...) is for those bored by JCiP. But it's not about threads per se. I imagine nobody cares about the original green threads and I wouldn't expect quality literature on the subject until project Loom goes to prod.
Cliff also has Coffee Compiler Club sessions on Fridays.
- https://mobile.twitter.com/cliff_click
- https://youtu.be/Hqw57GJSrac
https://shipilev.net/jvm/anatomy-quarks/
BTW green threads haven't been used for decades ;)