Java at Cognate Press
Java
Java, runtimes, frameworks, and the systems beneath them: the JVM and its ecosystem, read closely.
Published as JVM Scope at jvmscope.com, written by Marcus Venn — what the system is actually doing beneath the abstraction. First issue .
Every issue on Java
One run, one quantity, three answers. The allocation rate everyone derives from the default GC log is ten per cent low, and the log says why if you ask it correctly.
The same pipeline cost 7.05 times the loop over eight elements and 1.31 times over a million. The ratio everyone quotes is a measurement at a trip count.
Identical source, five call sites, one JDK 26 run - nothing allocated at the first and twelve bytes at three others. The wrapper is not what decides.
Sixty seconds of default settings produced 4.3 MB, three quarters of it one event type, and none of it answered whether the application was lock-contended.
One collection, reported as 2.275 ms by the GC log and 29.6 ms by the safepoint log. The gap is time to safepoint, and each instrument hides a different part of it.
A hello-world program loads 423 classes before it prints anything. Where they come from, what the JVM does to each one, and how to see it.
Startup time is class loading, condition evaluation and JIT warmup in some proportion. Measure the split before reaching for a fix.
A thread dump answers precise questions if you ask them precisely. What each state really means, and the traps that produce confident wrong diagnoses.
Sub-millisecond pauses are real, and they are not the whole cost. What the two collectors actually trade, and which numbers to compare instead.
C2 can delete an object entirely by proving it never escapes. Here is when that works, when it silently stops, and how to measure the difference.
Virtual threads scale until something nails one to its carrier. Here is what still pins on modern JDKs, and how to see it happen.
Tiered compilation, on-stack replacement and inlining decide how your loop really runs. Here is how to read those decisions instead of guessing.
The byline
Runtime behaviour, concurrency and garbage collection. Prefers JDK source and reproducible experiments to rules of thumb.
What the title covers
- Java
- JVM
- Garbage collection
- Virtual threads
- JIT compilation
- Spring Boot
- Thread dumps
- JMH
The other languages in the imprint: PHP · JavaScript · Python · C# · SQL · Go. Each has one title and one byline behind it — the index is at Topics.