Seeing the machine code of your Java program, with a few lines of Java
Comments on “Seeing the machine code of your Java program, with a few lines of Java”
Claim-checked. Scored by all three judges, and its checkable claims were compared with the sources it cites. How far stories are checked
Daniel Lemire used Richard Startin's instructive library, which samples the running machine instruction every 10 ms, to profile RoaringBitmap's andCardinality. On an Apple M4 Max with JDK 25, a call took 115 µs. He traces this to a dependency chain through one vector register used for bit counting. JDK 27 vectorizes the loop and runs about seven times faster. On an Intel Xeon with AVX-512, both JDKs took about 10 µs. The figures are his own, from one workload, without independent verification.
Why it ranked
No. 13 of 116 with a score of 0.63. The panel rated it highest on technical depth (0.94) and new information (0.91), lowest on significance (0.47). Placed No. 13, No. 35 by score alone: the placement terms moved other stories past it.
- AI judgeJudge 2claude-haiku-5-5
- Detailed, well-substantiated profiling walkthrough of JIT machine code for Java bitmaps on ARM and x86; practical for performance-minded builders, though niche in audience.
- AI judgeJudge 3gpt-5.6-luna
- A technically detailed, reproducible exploration of Java JIT machine code, ARM versus x86 behavior, and a lightweight profiling library. It offers actionable performance insight and strong evidence, though its audience is mainly Java and performance practitioners.
Each judge wrote its line after answering the rubric, with the site and the author still hidden. Every answer behind this is in the table under Score.
Score
0.63total under rubric v2.3
- Significance0.47
- Reader interest0.76
- Audience breadth0.51
- Practical relevance0.69
- Substantiated0.90
- Technical depth0.94
- New information0.91
- Counts against: Promotional0.11
- Counts against: Overclaim0.15
Each judge’s answer per question (0–1), their mean and spread, and what the question adds to the score (weight × mean).
| Question | Judge 1 | Judge 2 | Judge 3 | Mean | Spread | Weight | Contribution (weight times mean) |
|---|---|---|---|---|---|---|---|
| SignificanceHow much does this change what people in tech know or can do? | 0.48 | 0.30 | 0.62 | 0.47 | 0.32 | +0.24 | +0.112 |
| Reader interestWould a well-informed senior engineer or tech founder want to read this today, and likely pass it on? | 0.67 | 0.72 | 0.90 | 0.76 | 0.23 | +0.26 | +0.198 |
| Audience breadthHow many people who build technology does it concern? | 0.57 | 0.40 | 0.55 | 0.51 | 0.17 | +0.13 | +0.066 |
| Practical relevanceHow useful is it to someone who builds software or tech products? | 0.71 | 0.55 | 0.82 | 0.69 | 0.27 | +0.22 | +0.152 |
| SubstantiatedHow well is it backed? Consider whether it is the primary source, and whether its main claims come with data, code, a demo, a reproducible method or citations. | 0.97 | 0.82 | 0.90 | 0.90 | 0.15 | +0.05 | +0.045 |
| Technical depthHow technically substantive is it? | 1.00 | 0.90 | 0.91 | 0.94 | 0.10 | +0.05 | +0.047 |
| New informationDoes it contain information absent from the stories covered in the last 7 days (list provided)? | 0.88 | 0.90 | 0.96 | 0.91 | 0.08 | +0.05 | +0.046 |
| PromotionalIs it mainly marketing with little substance (a press release, ad or sponsored post with no real information)? A launch post that carries real news is not promotional. | 0.06 | 0.20 | 0.06 | 0.11 | 0.14 | −0.19 | −0.020 |
| OverclaimDo the headline or conclusions claim more than the body supports? | 0.21 | 0.15 | 0.08 | 0.15 | 0.13 | −0.11 | −0.016 |
| Sum of contributions | +0.630 | ||||||
| Claim-check penalty | 0.000 | ||||||
| Total, as published | 0.630 | ||||||
Spread is the highest minus the lowest judge answer. marks a spread above 0.40: the judges disagree, and the story is marked contested.
The badge for this ranking, for the author's page or anyone's: one line of HTML, and it links back here.
<a href="https://rubric.hrih.si/editions/2026-11-24/13/"><img src="https://rubric.hrih.si/badge/2026-11-24/13.svg" alt="Ranked #13 on Rubric, 24 Nov 2026" width="245" height="28"></a>Claim check
Claim check: 2 matches source · 6 no source given. Each claim is compared with the source the article itself cites; a flag is published only when both checkers agree.
No source givenNumber
On an Apple M4 Max with JDK 25, each andCardinality call takes 115 µs, which is 1.75 ns per 64-bit word or about 8 cycles per word.
The article gives no link or citation for it.
The article says “Each call takes 115 µs. That is 1.75 ns per 64-bit word, or about 8 cycles per word for an AND and a population count”
The source says No source to compare with.
No source givenNumber
With JDK 27 on the Apple M4 Max, each andCardinality call takes 15.6 µs, seven times faster than with JDK 25.
The article gives no link or citation for it.
The article says “With JDK 27, each call takes 15.6 µs, seven times faster”
The source says No source to compare with.
No source givenCausal conclusion
The slowness on ARM with JDK 25 is caused by every population count reusing vector register v16, with an insert that must wait for the previous population count, creating a dependency chain.
The article gives no link or citation for it.
The article says “So it must wait for the previous value of v16, that is, for the previous population count. The processor cannot work on several words at once: each word waits for…”
The source says No source to compare with.
No source givenNumber
In C with inline assembly, using an instruction that writes the whole register (fmov) makes the same sequence six times faster.
The article gives no link or citation for it.
The article says “with an instruction that writes the whole register (fmov), the same sequence is six times faster”
The source says No source to compare with.
No source givenCausal conclusion
JDK 27 speeds up the function on ARM because it vectorizes the loop, not because Long.bitCount code generation changed.
The article gives no link or citation for it.
The article says “But only because the loop is vectorized. The code that JDK 27 generates for Long.bitCount itself has not changed”
The source says No source to compare with.
No source givenBenchmark result
On an Intel Xeon Gold 6548N, both JDK 25 and JDK 27 use AVX-512 vpopcntq, and each call takes 10 µs (0.15 ns per word), faster than the Apple M4 with either Java version.
The article gives no link or citation for it.
The article says “Each call takes 10 µs, or 0.15 ns per word: faster than the Apple M4 with either version of Java”
The source says No source to compare with.
Matches sourceGeneralization
Roaring is used by Apache Spark, Hive, Druid, Pinot, Iceberg, Flink, Netflix Atlas, Google Procella and Apache Lucene, among others.
The cited source says the same thing.
The article says “Roaring is used by Apache Spark, Apache Hive, Apache Druid, Apache Pinot, Apache Iceberg, Apache Flink, Netflix Atlas, Google Procella (YouTube’s SQL engine) and Apache Lucene”
The source says “Powering YouTube's SQL engine, Apache Lucene, Druid, Spark, ClickHouse, Elasticsearch, Redis, Pinot, and dozens more — handling billions of operations daily”
Source cited by the article: roaringbitmap.org
Matches sourceNumber
The instructive library records which machine instruction is running every 10 ms of CPU time and reports the hottest compiled methods with per-instruction sample counts.
The cited source says the same thing.
The article says “Every 10 ms of CPU time, it records which machine instruction is running”
The source says “a CPU-time timer delivers `SIGPROF` every 10 ms of CPU time: one POSIX timer per thread on Linux, and a process-wide `setitimer` on macOS”
Source cited by the article: github.com/richardstartin/instructive
Also covered by
No other coverage was clustered with this story.
Elsewhere
Elsewhere: HN 3 pts, not on front page
Recorded for context only, checked 24 Nov 2026, 05:47 UTC. It played no part in the ranking.