Table of Contents Why is the finalize() method deprecated/removed?How does Cleaner relate to Java Reference classes?Behind the scenes of CleanerCleaner vs. try-with-resourcesAvoid overusing CleanerConclusionFurther Resources Garbage collection in Java takes care of memory management, but it does not clean up …
-
How JVM handles exceptions
Table of Contents ExampleException tableBytecode instructionsTry-catch-finally flowLess nice flowSummarized flow It’s interesting to know how the JVM runs bytecode instructions… But do you know what is going on when an exception is thrown? How does the JVM handle the delegation …
-
Exploring the Impact of Stack Size on JVM Thread Creation: A Myth Debunked
Does stack size have an impact on the number of native threads that can be created in a JVM environment?
-
The Curious Case of Different Runtimes
Strange runtime behavior when presenting different training data to the JIT. We show how we diagnosed and condense down to a few test cases.
-
The Anatomy of a JVM
Find out how the JVM handles many tasks that you, as a developer, don’t want and need to take care of compared to other languages.
-
Breaking the Code: How Chris Newland is Changing the Game in JVM Performance!
In this enlightening interview, JVM performance specialist Chris Newland shares his journey in the Java universe.
-
From Assembler to Chat-GPT: Steve Poole on the Shifting Landscape of Programming
In this engaging interview with Steve Poole, a seasoned Java developer and DevOps practitioner, we delve into his career journey, valuable insights, and the evolution of technology. Poole shares his experiences, highlighting the importance of critical thinking, adapting to change, and embracing innovation in the world of software development.
-
How Gradle Works: Startup
This is the first of a series on how Gradle works! For example, how does Gradle start up and how many JVMs are involved in a Gradle build?
-
Which is the Fastest JVM: OpenJDK or GraalVM?
How is a high-performance, low-latency Java application affected by the JVM version used? Find out more on Foojay!
-
How to Run a Java Application with CRaC in a Docker Container
CRaC is an OpenJDK project developed by Azul to solve the problem of “slow” startup times of the JVM in a microservice environment.
-
What Does a Modern JVM Look Like, And How Does It Work?
In this article, the internal workings of the JVM are discussed, e.g., interpreter, JIT compiler, and how it optimizes code.