Java Articles by Foojay.io

February, 2023

  • 3 February

    Using Firefox Profiler Beyond the Web

    This blog post is the base for the second half of my upcoming talk at FOSDEM 2023 on the topic “Firefox Profiler beyond the web: Using Firefox Profiler to view Java profiling data.” I detailed in my last blog post how the Firefox Profiler can be used to view Java profiling data: But I’m of course not the only one …

    Read More »
  • 3 February

    What Should I Know About Garbage Collection as a Java Developer?

    The Garbage Collector is a crucial part of the Java Virtual Machine (JVM) that has an impact on the performance and reliability of your application. But what is it exactly, and why is it important to understand how it works? If you’re a Java developer, you might ask, “What should I know about Garbage Collection?” Since I joined Azul as …

    Read More »
  • 3 February

    Explained: Memory Allocation Pacing in Azul Zulu Prime builds of OpenJDK

    The Java Virtual Machine (JVM) that runs your Java applications has a Garbage Collector (GC) responsible for recycling memory objects that are no longer needed. The GC operates by cycles, and running a cycle takes some time. Azul Zulu Prime uses the C4 Garbage Collector, which runs concurrently with your Java application. During the GC cycle, the application may outrun …

    Read More »
  • 3 February

    Debugging Threads and Asynchronous Code

    I’m doing a community interview in the Code Ranch drop by and ask a question to win a free book! This week we’ll discuss one of the harder problems in programming: threading. For many cases threading issues aren’t as difficult to debug. At least not in higher abstractions. Asynchronous programming is supposed to simplify the threading model but oftentimes it …

    Read More »
  • 3 February

    Memory Debugging – a Deep Level of Insight

    When I mention memory debugging the first thing that comes to the minds of many developers is the profiler. That isn’t wrong but it’s still a partial picture. Profilers are amazing at mapping that “big picture” but when you want to understand the domain, they fall short. Modern debuggers let us gain a level of insight into the application that’s …

    Read More »
  • 2 February

    Firefox Profiler Beyond the Web

    This blog post is the base of the first half of my upcoming talk at FOSDEM 2023 on the topic “Firefox Profiler beyond the web: Using Firefox Profiler to view Java profiling data.” For the impatient: Take a look at my Java JFR Profiler IntelliJ plugin to easily profile your application and view JFR files directly in your IDE. I …

    Read More »
  • 2 February

    Why Core-to-Core Latency Matters

    A few years ago we had a global shortage of microchips; now, I feel there is a worldwide shortage of software developers. Like many other software companies, Chronicle Software is rapidly expanding and interviewing candidates. We usually ask candidates to demonstrate a good knowledge of core Java, then we cover slightly more advanced concepts, such as the use of volatile …

    Read More »
  • 1 February

    Real-time Stream Processing with Hazelcast and StreamNative

    Introduction One of the most useful features of real-time stream processing is to combine the strengths and advantages of various technologies to provide a unique developer experience and an efficient way of processing data in real time at scale. Hazelcast is a real-time distributed computation and storage platform for consistently low latency queries, aggregation and stateful computation against real-time event …

    Read More »
  • 1 February

    How to Run a Java Application with CRaC in a Docker Container

    CRaC (Coordinated Restore at Checkpoint) is an OpenJDK project that was developed by Azul to solve the problem of “slow” startup times of the Java Virtual Machine in a microservice environment. When the JVM runs your application code, it does things like interpreting, compiling and optimizing code to make your application run as fast as possible under the given workload. …

    Read More »

January, 2023

  • 31 January

    More Foojay.io FOSDEM Speaker Predictions for 2023

    Following on from the first part in this series, covering Simon Ritter and several more, here is the next set of reflections on 2022 and expectations for this year, from speakers who will be in the Foojay.io developer room at FOSDEM on Sunday, 5 February. What’s going to happen this year? In the software supply chain arena, it’s pretty clear …

    Read More »