<feed xmlns="http://www.w3.org/2005/Atom"> <id>https://norlinder.nu/</id><title>Jonas Norlinder</title><subtitle>Oracle JVM Engineer. GC researcher. Empirical research and deep dives into the OpenJDK HotSpot mainline, ZGC, and Java performance.</subtitle> <updated>2026-10-16T23:14:11+02:00</updated> <author> <name>Jonas Norlinder</name> <uri>https://norlinder.nu/</uri> </author><link rel="self" type="application/atom+xml" href="https://norlinder.nu/feed.xml"/><link rel="alternate" type="text/html" hreflang="en" href="https://norlinder.nu/"/> <generator uri="https://jekyllrb.com/" version="4.4.1">Jekyll</generator> <rights> © 2026 Jonas Norlinder </rights> <icon>/assets/img/favicons/favicon.ico</icon> <logo>/assets/img/favicons/favicon-96x96.png</logo> <entry><title>The Limitations of Running a Workload Generator In the Same JVM as the System-Under-Test</title><link href="https://norlinder.nu/posts/The-Limitations-of-Running-a-Workload-Generator-In-the-Same-JVM-as-the-System-Under-Test/" rel="alternate" type="text/html" title="The Limitations of Running a Workload Generator In the Same JVM as the System-Under-Test" /><published>2026-09-24T09:00:00+02:00</published> <updated>2026-09-24T09:00:00+02:00</updated> <id>https://norlinder.nu/posts/The-Limitations-of-Running-a-Workload-Generator-In-the-Same-JVM-as-the-System-Under-Test/</id> <content type="text/html" src="https://norlinder.nu/posts/The-Limitations-of-Running-a-Workload-Generator-In-the-Same-JVM-as-the-System-Under-Test/" /> <author> <name>jonasaniltobias</name> </author> <category term="Benchmarking" /> <category term="Performance" /> <summary>When you evaluate a system with a garbage collector and want to understand its tail latency, you often see SPECjbb2015 or DaCapo used. While both offer corrective measures for coordinated omission, only SPECjbb2015 can run the workload generator and backend server in the same JVM, or separate them into different JVMs. This post is a deep dive that uses SPECjbb2015's flexibility to explore and highlight the risks of running the workload generator in the same JVM as the backend.</summary> </entry> <entry><title>Dissecting the CPU-Memory Relationship in Garbage Collection</title><link href="https://norlinder.nu/posts/GC-Cost-CPU-vs-Memory/" rel="alternate" type="text/html" title="Dissecting the CPU-Memory Relationship in Garbage Collection" /><published>2026-02-23T14:30:00+01:00</published> <updated>2026-02-23T14:30:00+01:00</updated> <id>https://norlinder.nu/posts/GC-Cost-CPU-vs-Memory/</id> <content type="text/html" src="https://norlinder.nu/posts/GC-Cost-CPU-vs-Memory/" /> <author> <name>jonas</name> </author> <category term="OpenJDK" /> <category term="Performance" /> <category term="Java" /> <summary>Every time you configure a Java application's heap size, you are essentially making a trade-off&amp;#58; spending more on infrastructure to improve performance metrics such as throughput or latency. Historically, this trade-off was visible when an undersized heap triggered long pauses, signaling a need for more resources. With modern collectors, however, pause duration and computational effort have become decoupled. This creates an operational blind spot&amp;#58; dashboards may show excellent response times, while the collector silently consumes excess compute capacity to compensate for a constrained heap. To address this, it is essential to look beyond GC pauses and examine overall efficiency using new tools. This article, therefore, analyzes why we need additional metrics for infrastructure efficiency and introduces the new MemoryMXBean.getTotalGcCpuTime() API in Java 26 (OpenJDK 26), which empowers engineers and researchers to quantify the collector's CPU overhead and make informed memory-CPU trade-off decisions.</summary> </entry> <entry><title>One Giant Leap&amp;#58; 95% Less Sampling Cost</title><link href="https://norlinder.nu/posts/User-CPU-Time-JVM/" rel="alternate" type="text/html" title="One Giant Leap&amp;amp;#58; 95% Less Sampling Cost" /><published>2026-01-01T04:33:00+01:00</published> <updated>2026-03-21T20:44:47+01:00</updated> <id>https://norlinder.nu/posts/User-CPU-Time-JVM/</id> <content type="text/html" src="https://norlinder.nu/posts/User-CPU-Time-JVM/" /> <author> <name>Jonas Norlinder</name> </author> <category term="OpenJDK" /> <category term="Performance" /> <summary>Imagine your company is managing a large-scale data processing system, and every second counts. You're constantly seeking ways to reduce latency and optimize performance. Now, consider the impact of speeding up thread monitoring on user CPU time by 20 times. The public standard in Linux for reading thread CPU time is the computational equivalent of printing a spreadsheet to paper, then scanning it with a camera, only to digitize it back into a spreadsheet just to read a value. It works, but it destroys throughput. I recently integrated a patch into OpenJDK that replaces this legacy logic with direct calls. The result is a 20x speedup for thread monitoring of user CPU time. Here is the story behind the optimization and why "everything is a file" isn't the right philosophy for performance.</summary> </entry> <entry><title>On the Boundaries of Final</title><link href="https://norlinder.nu/posts/On-the-Boundaries-of-Final/" rel="alternate" type="text/html" title="On the Boundaries of Final" /><published>2025-12-06T00:00:00+01:00</published> <updated>2026-03-21T19:46:31+01:00</updated> <id>https://norlinder.nu/posts/On-the-Boundaries-of-Final/</id> <content type="text/html" src="https://norlinder.nu/posts/On-the-Boundaries-of-Final/" /> <author> <name>Jonas Norlinder</name> </author> <category term="Language Semantics" /> <category term="Memory Models" /> <summary>A deep dive into JEP 500 and the Java Memory Model to understand the formal boundaries of 'final'. We examine JLS §17, unsafe publication, and why immutable fields can still appear mutable in concurrent environments.</summary> </entry> <entry><title>Mark-Scavenge: Waiting for Trash to Take Itself Out (Blog Post on inside.java)</title><link href="https://norlinder.nu/posts/Mark-Scavenge-on-Inside-Java/" rel="alternate" type="text/html" title="Mark-Scavenge: Waiting for Trash to Take Itself Out (Blog Post on inside.java)" /><published>2024-11-22T00:00:00+01:00</published> <updated>2026-03-21T19:46:31+01:00</updated> <id>https://norlinder.nu/posts/Mark-Scavenge-on-Inside-Java/</id> <content type="text/html" src="https://norlinder.nu/posts/Mark-Scavenge-on-Inside-Java/" /> <author> <name>Jonas Norlinder</name> </author> <category term="Research" /> <category term="Memory Management" /> <summary>Modern GCs often waste cycles moving objects that are reachable but effectively dead. We introduce Mark-Scavenge, a novel algorithm for ZGC that delays evacuation to let 'trash take itself out,' reducing dead object relocation by up to 91%.</summary> </entry> </feed>
