The Most Expensive Instruction Might Be… cmov

A trip through HotSpot's C2 branch-to-cmov heuristic: it measures branch bias, not predictability, and in a tight loop that mismatch is worth up to 2.9x.

添加评论
点赞收藏
点踩分享查看原文
评论
?
参与讨论