TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Best Books on the JVM?

57 点作者 abadger9超过 3 年前
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 条评论

filereaper超过 3 年前
I strongly recommend following and listening to videos by Cliff Click who wrote HotSpot and worked on Azul and other VMs.<p>Cliff also has Coffee Compiler Club sessions on Fridays.<p>- <a href="https:&#x2F;&#x2F;mobile.twitter.com&#x2F;cliff_click" rel="nofollow">https:&#x2F;&#x2F;mobile.twitter.com&#x2F;cliff_click</a><p>- <a href="https:&#x2F;&#x2F;youtu.be&#x2F;Hqw57GJSrac" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;Hqw57GJSrac</a>
eatonphil超过 3 年前
Optimizing Java is pretty good [0].<p>[0] <a href="https:&#x2F;&#x2F;www.goodreads.com&#x2F;book&#x2F;show&#x2F;27015350-optimizing-java" rel="nofollow">https:&#x2F;&#x2F;www.goodreads.com&#x2F;book&#x2F;show&#x2F;27015350-optimizing-java</a>
native_samples超过 3 年前
It&#x27;s not a book but Shipilev&#x27;s Quarks are an excellent source for some of the more obscure corners:<p><a href="https:&#x2F;&#x2F;shipilev.net&#x2F;jvm&#x2F;anatomy-quarks&#x2F;" rel="nofollow">https:&#x2F;&#x2F;shipilev.net&#x2F;jvm&#x2F;anatomy-quarks&#x2F;</a><p>BTW green threads haven&#x27;t been used for decades ;)
62951413超过 3 年前
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&#x27;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.<p>&quot;Garbage Collection: Algorithms for Automatic Dynamic Memory Management&quot; (<a href="https:&#x2F;&#x2F;www.amazon.com&#x2F;Garbage-Collection-Algorithms-Automatic-Management&#x2F;dp&#x2F;0471941484" rel="nofollow">https:&#x2F;&#x2F;www.amazon.com&#x2F;Garbage-Collection-Algorithms-Automat...</a>) seems to cover GC algorithms up to the CMS.<p>&quot;The Art of Multiprocessor Programming&quot; (<a href="https:&#x2F;&#x2F;www.amazon.com&#x2F;Art-Multiprocessor-Programming-Maurice-Herlihy&#x2F;dp&#x2F;0124159508" rel="nofollow">https:&#x2F;&#x2F;www.amazon.com&#x2F;Art-Multiprocessor-Programming-Mauric...</a>) is for those bored by JCiP. But it&#x27;s not about threads per se. I imagine nobody cares about the original green threads and I wouldn&#x27;t expect quality literature on the subject until project Loom goes to prod.
stefanos82超过 3 年前
I would recommend the following:<p><pre><code> https:&#x2F;&#x2F;github.com&#x2F;edubart&#x2F;nelua-lang&#x2F;wiki&#x2F;Useful-Links-for-Research The Garbage Collection Handbook: The Art of Automatic Memory Management [1] </code></pre> [1] <a href="https:&#x2F;&#x2F;www.amazon.com&#x2F;dp&#x2F;0367659247" rel="nofollow">https:&#x2F;&#x2F;www.amazon.com&#x2F;dp&#x2F;0367659247</a>
pramodbiligiri超过 3 年前
Java Performance: The Definitive Guide, by Scott Oaks is great. <a href="https:&#x2F;&#x2F;www.oreilly.com&#x2F;library&#x2F;view&#x2F;java-performance-the&#x2F;9781449363512&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.oreilly.com&#x2F;library&#x2F;view&#x2F;java-performance-the&#x2F;97...</a>