Tagged articles

CPU pipeline

2 articles · Page 1 of 1
Java Tech Workshop
Java Tech Workshop
Sep 7, 2026 · Backend Development

From Java Code to CPU Instructions: A Method Call's Complete Journey

This article traces a Java method call through five stages: compilation to bytecode, class loading with vtable resolution, interpretation via stack frames, JIT compilation with optimizations like inlining and escape analysis, and final execution as machine code on CPU pipelines.

CPU pipelineClass LoadingHotSpot
0 likes · 30 min read
From Java Code to CPU Instructions: A Method Call's Complete Journey
ITPUB
ITPUB
Oct 8, 2017 · Fundamentals

Mastering Branch Prediction: Techniques to Minimize Branch Overhead in x86 Code

This article explains the different types of CPU branches, how branch prediction works, and presents practical techniques—including branch‑prediction hints, SETcc/CMOVx instructions, and branch‑less coding—to reduce the performance impact of conditional and indirect jumps in x86 programs.

CMOVCPU pipelineSETcc
0 likes · 14 min read
Mastering Branch Prediction: Techniques to Minimize Branch Overhead in x86 Code