Memory management remains the primary factor for application performance in enterprise Java environments. Between 2017 and 2025, the ecosystem shifted from manual tuning to architectural selection. Industry data suggests that 60 percent of Java performance issues and 45 percent of production incidents in distributed systems stem from suboptimal Garbage Collection (GC) behavior. This guide provides a strategic framework for selecting collectors based on workload characteristics. It covers the transition from legacy collectors to Generational ZGC, analyzing trade-offs regarding throughput, latency, and hardware constraints with mathematical precision.
-
Pointer Arithmetic in Modern Java
Table of Contents IntroductionBackground InfoWarningThe SetupComparing ApproachesBenchmarkConclusion Introduction In this post, we dive into a more advanced topic: pointer arithmetic in Java. With the introduction of the Foreign Function & Memory API (Panama), we can interact with native memory. Usually, …
-
Flaky Tests: a journey to beat them all
Table of Contents What’s a flaky test?First try: retry them all!Second try: fix them all!Third try: embrace the inevitability!Conclusion “Sleep is not a synchronization primitive.” Every test engineer, eventually What’s a flaky test? A flaky test is a test that …
-
🛡️ Dev Guide: How to choose your LLM without ruining your Java code (2026 Edition)
Table of Contents 1. The “Bloatware” Trap: Precision vs. Verbosity 📉🆚 The Code Face-off: Filtering a list2. Security: A “Bug” is not the same as an “Open Door” 🚨💀 The danger of “Blockers”3. “New” does not guarantee “Better Code” 📉4. …
-
Optimizing Java for the Cloud-Native Era with Quarkus
Table of Contents What does Quarkus have to offer?Developer joy with live coding and dev modeCost efficiency and performanceReactive at its coreWhich of your current development pains could Quarkus solve?Dev ServicesVast extension ecosystem“OK, I would like to try it, but …
-
Quarkus: A Runtime and Framework for Cloud-Native Java
Table of Contents Why Quarkus stands out?Quarkus as a versatile frameworkSimplified developer experiencePerformance that mattersSecurityObservability and control surfacesModular and production-readyBuilding your stack with QuarkusConclusion Public clouds such as AWS, Microsoft Azure, and Google Cloud, and platforms like Red Hat OpenShift, …
-
Project Panama for Newbies (Part 2)
Welcome to Part 2 of this series, in which we will look at C language’s concept of pointers and structs.
Later on in this article, we will use Panama to mimic these concepts.
The goal is to call C function signatures that are often defined to accept pointers and structs.
-
Project Panama for Newbies (Part 1)
In this series of articles, we will explore the APIs from OpenJDK’s Project Panama.
My intent is to show you how to be proficient in using the Foreign Linker APIs (module ‘jdk.incubator.foreign’) as it relates to Java interoperability with native code.
While this article is for newbies, I assume you know the basics of the Java language, a little bash scripting, and a familiarity with C programming concepts. If you are new to C language don’t worry I will go over the concepts later.
-
🚀 Stop The Trojan Horse in Your pom.xml: SonarQube Advanced Security (Part 3)
Table of Contents Problem #1: “I didn’t write this bug, why is it my problem?”Problem #2: “The Dependency Hell” (Transitive Dependencies) 🔥Problem #3: “Wait, I can’t use this library? It’s open source!” ⚖️Problem #4: “The Sneaky Attack” (Advanced SAST & …
-
🚀 Stop Fixing Bugs on Fridays: The “Connected Mode” Superpower (Part 2)
Table of Contents Problem #1: “It works on my machine, but fails on the server”Problem #2: “Why did the server catch a SQL Injection my IDE missed?”Problem #3: “I hate switching windows to check why the build failed”Problem #4: “The …
-
First Experiments with Java on the LattePanda IOTA: An Alternative to Raspberry Pi?
Table of Contents Unboxing the LattePanda IOTAAssemblySetting Up The BoardFirst Boot: Windows Pre-installedInstalling UbuntuSetting Up Java DevelopmentTesting Java, JavaFX, and Pi4JHelloWorld with JBangJavaFX TestPi4J TestPerformance CheckConclusion After years of experimenting with Raspberry Pi boards, Java, JavaFX, and Pi4J to control …