lemire.me/blog/2026/11/23/seeing-the-machine-code-of-your-java-program

Seeing the machine code of your Java program, with a few lines of Java

Richard Startin's instructive library samples Java machine instructions every 10 ms, so an ordinary program can show its hottest compiled methods and instruction-level sample counts. Applied to RoaringBitmap.andCardinality, it revealed slower JDK 25 popcount copies on Apple M4, a seven-times-faster vectorized JDK 27 loop, and AVX-512 use on Intel Xeon.


No comments yet

Be the first to share your thoughts.