Ask HN: Best Books on the JVM?

57 points by abadger9 ↗ HN
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
I would recommend the following:

  https://github.com/edubart/nelua-lang/wiki/Useful-Links-for-Research
  The Garbage Collection Handbook: The Art of Automatic Memory Management [1] 
[1] https://www.amazon.com/dp/0367659247
The last book on the JVM itself (e.g. stack-based byte code, class file format) I saw was from nearly 20 years ago. I cannot think about anything more modern. It's a niche which used to be popular in FinTech circles mostly. As such valuable info was scattered across random blogs and the JVM spec itself.

"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.