In this article, we’ll see how we can diagnose a running JVM with ease.
Search Results for: heap
Static Classes Versus the Singleton Pattern in Java
Understanding how static classes and the Singleton design pattern compare in Java
Tiered Compilation in JVM
The JVM’s just in time compiler employs multiple techniques to optimize our software as it runs. We explore the various tiers and how they affect startup performance and continued optimization.
Find the GC Algorithm Used by a JVM Instance
Learn different approaches to find the GC algorithm used by a particular JVM instance
Maximum Size of Java Arrays
Learn about the maximum size of Java arrays.
JVM Parameters InitialRAMPercentage, MinRAMPercentage, and MaxRAMPercentage
Learn about JVM parameters InitialRAMPercentage, MinRAMPercentage, and MaxRAMPercentage for setting the RAM percentages that the JVM will use for the heap
When to Use a Parallel Stream in Java
In this tutorial, we’ll explore the differences between sequential and parallel streams using Stream Api.
JVM Storage for Static Members
Learn about JVM storage for the static methods and members
How to Enable All Endpoints in Spring Boot Actuator
Have a look at how to enable all the endpoints in the Spring Boot Actuator.
Returning Stream vs. Collection
Explore Java Streams and Collections and discuss various scenarios that suit their respective uses as return values
How Many Threads Can a Java VM Support?
A quick and practical overview of how many threads can JVM create.
Java Weekly, Issue 375
Deserialization events in JFR, more efficient G1, native images, Scala 3, pattern matching for primitives, merge join algorithm, and effective communication.
Is Java a Compiled or Interpreted Language?
Java provides the speed of a compiled language with the portability of an interpreted language. We investigate how the JVM and JIT compiler work, and how to classify Java as a language.
Experimental Garbage Collectors in the JVM
Learn the new Shenandoah garbage collector and how it compares against other garbage collectors
New Features in Java 12
Explore the new features implemented in Java 12.
Java Weekly, Issue 366
Millions of virtual threads, virtual thread pools, GraalVM meets COBOL, Intellij on M1, Telemetry and Protobuf, and Spec updates for Java 16!
New Features in Java 14
Explore various JEPs of Java 14.
New Features in Java 15
Look at some of the new features of Java 15 as well as other changes that are of interest to Java developers
The Capacity of an ArrayList vs the Size of an Array in Java
The capacity of an ArrayList functions differently to the size of an Array. We explore the differences and when it’s a good idea to set an ArrayList’s size.
Explanation of ClassCastException in Java
Let’s take a closer look at the ClassCastException.