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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Notes on debugging HotSpot's JIT compilation (2023)

59 点作者 lichtenberger大约 1 年前

3 条评论

acimim_ha大约 1 年前
I don&#x27;t really see why:<p><pre><code> public class TestJIT { public static void main(String[] args) { for (int i = 0; i &lt; 20_000; i++) { payload(); } } public static int payload(int a, int b) { return a + b; } } </code></pre> shouldn&#x27;t be optimized into a &#x27;no-op&#x27;. The end-effect is the same.
评论 #39825866 未加载
评论 #39827546 未加载
评论 #39830364 未加载
评论 #39825851 未加载
评论 #39825823 未加载
saagarjha大约 1 年前
Excellent. Next time I’ll have something to refer to when making memes like this one: <a href="https:&#x2F;&#x2F;twitter.com&#x2F;_saagarjha&#x2F;status&#x2F;1576961522936340480" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;_saagarjha&#x2F;status&#x2F;1576961522936340480</a>. Maybe I can avoid building OpenJDK too!
dzaima大约 1 年前
Some self-advertising of a linux tool I made which can display perf record data with Java JIT disassembly (doesn&#x27;t need hsdis): <a href="https:&#x2F;&#x2F;github.com&#x2F;dzaima&#x2F;grr?tab=readme-ov-file#java-jit">https:&#x2F;&#x2F;github.com&#x2F;dzaima&#x2F;grr?tab=readme-ov-file#java-jit</a>