Managing Native Memory in Java: Arenas, Malloc, and Custom Pools
Table of Contents What is the Memory APIArenasUsing ArenasCreating your own arenaNative Memory allocation methodsUsing Malloc and FreePool of reusable memoryWhy you would use themHow to use a memory poolSlicingHow to use themTL;DRConclusion What is the Memory API The Foreign ...
-
Foojay Podcast #92: Java 26 Is Here: What’s New, What’s Gone, and Why It Matters in 2026
Table of Contents YouTubePodcast AppsGuestsContent Welcome to another episode of the Foojay Podcast! In this episode, we’re talking about Java 26, released on March 17 in the year 26. Again, right on schedule with Java’s six-month release cadence. Now, Java …
-
I Benchmarked Java on Single-Board Computers: Orange Pi 5 Ultra and Raspberry Pi 5 Lead the Pack
Table of Contents Benchmark ToolBenchmarkRunner.java – The User ToolSummarizeReports.java – The Automation ToolAbout The Renaissance Benchmark SuiteThe ResultsThe DashboardAnalyzing the ResultsSelecting a WinnerConclusionTry It Yourself!What’s Next? In my “Java on Single Board Computers” series, I already published several posts and …
-
Gotta Code ‘Em All: How Java Evolved Beyond Verbosity – Celebrating 30 Years of Pokémon
Table of Contents Java 25 – Compact Source Files and Instance Main Methods (JEP 512)Java 25 – Flexible Constructor Bodies (JEP 513)30 Years of Pokémon. Decades of Java Evolution.LinksLinks Happy 30th Anniversary to Pokémon! 🎉 February 27, 2026 marks exactly …
-
What 2,000+ Professionals Told Us About the State of Java, AI, Cloud Costs, and the Future of the Java Ecosystem
Table of Contents Java powers AI in production Enterprises are rapidly moving away from Oracle Java Cloud costs are still too high, and Java efficiency is a powerful lever Unused and Dead code and CVE noise are quietly killing DevOps productivity Why this all matters right now Where Azul fits into this future Every year, I look forward to our State of Java Survey & Report because it gives us a view into how organizations are using Java today and where they’re heading next. This year, …
-
Foojay Podcast #90: Highlights of the Java Features Between LTS 21 and 25
Table of Contents YouTubePodcast AppsGuestsContent Every six months, we get a new version of Java. Java 26 is just around the corner and will be released soon. But most companies stick to LTS (Long-Term Support) versions, which are maintained and …
-
Unikernel: Profiling and Troubleshooting JVM on Nanos Unikernel
Table of Contents Profiling a Java Application Running Inside an Unikernel with JProfilerExplanationDirsArgsRunConfigBaseVolumeSzWhat this command doesInstrumentation PhaseFinal State Profiling a Java Application Running Inside an Unikernel with JProfiler Unikernels are often associated with minimalism and tight resource control. But can …
-
Bringing Java Closer to Education: A Community-Driven Initiative
Table of Contents The role of this GitHub repositoryWhy Java in Education MattersA Major Milestone: Java in CoderDojoCommunity Content vs. Official Raspberry Pi Foundation MaterialImpact on Raspberry Pi, Pi4J, and the Java EcosystemThe Challenge with the Raspberry Pi FoundationConnecting Existing …
-
OpenJDK January 2026 Critical Patch Update and Patch Set Update Released
Table of Contents The Quarterly Update CycleCritical Patch Updates (CPU)Patch Set Updates (PSU)Difference With the Six-Month Release CycleDistributor AvailabilityIn this January ReleaseNext Steps The January 2026 OpenJDK quarterly updates are now (or will soon be) available from various OpenJDK distributors. …
-
The FFM API: How OpenJDK Changed the Game for Native Interactions (And Made Pi4J Better!)
Table of Contents A Quick History LessonForeign Function & Memory (FFM) APIThe Problem With JNIHow The FFM API EvolvedSimple Code ExamplesWhy the FFM API Matters for Raspberry Pi ProjectsPi4J ArchitectureThe FFM TransformationA Community Success StoryBeyond Raspberry PiPi4J Examples Using the …
-
The Ultimate 10 Years Java Garbage Collection Guide (2016–2026) – Choosing the Right GC for Every Workload
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.