Recent Posts

Book Review: “OpenJDK Migration for Dummies”

The subject of Java licensing and OpenJDK migration is complex and vital to many software engineers. I am no different. It’s a topic that’s often shrouded in legal jargon and technicalities, making it difficult to approach. “OpenJDK Migration for Dummies” by Simon Ritter offers a fresh perspective, breaking down these challenges into digestible segments. It directly speaks to my core …

Read More »

Reading the temperature, humidity, and pressure from a BME280 Sensor with Java, Pi4J, I2C, SPI, and JBang

To make it as easy as possible to get started with Java on the Raspberry Pi to interact with electronic components, I started a new section on the Pi4J website with JBang examples. In this tutorial, I want to show you how you can read the temperature, humidity, and pressure from a BME280 Sensor. What Is Used? As explained on …

Read More »

The Inner Workings of Safepoints

A Java thread in the JVM regularly checks whether it should do extra work besides the execution of the bytecode. This work is done during so-called safepoints. There are two types of safepoints: local and global. At thread-local safepoints, also known as thread-local handshakes, only the current thread does some work and is therefore blocked from executing the application. At …

Read More »