-
G1 Garbage Collector in Action
G1 will be the default Garbage Collector in Java 9. With the change, the G1 is approaching maturity for production deployments, so we encourage you to familiarize yourself with the concepts and principles in the Garbage First collector.
Filed under: Garbage Collection
-
Weak, Soft and Phantom references: Impact on GC
There is an entire class of issues affecting GC caused by the use of non-strong references in the application. While using such references may help to avoid an unwanted OutOfMemoryError in many cases, heavy usage of the non-strong references may significantly impact the way garbage collection can affect the performance of your application.
Filed under: Garbage Collection
-
What is promotion rate?
High promotion rate can be a root cause for poor throughput. In this post we will explain the concept of promotion rate, explain how to measure the rate and demonstrate why monitoring the promotion rate is valuable in practice.
Filed under: Garbage Collection
-
What is allocation rate?
Allocation rate is a term used to measure the pace at which the JVM allocates new objects. Allocation rate can impact your application performance in different ways, in this post we will see both how to measure the allocation rate and how does it actually impacts your applications performance.
Filed under: Garbage Collection
-
GC tuning in practice
When tuning Garbage Collection, you need to take into account three different performance aspects, namely latency, throughput and capacity. This example shows you how simple changes in configuration make the same example behave completely differently in regards to the different performance categories.
Filed under: Garbage Collection
-
Understanding Garbage Collection Logs
Understanding the output of Garbage Collection logs has been a nuisance. In the post we walk you through an example log record to help you understand the logs in the future.
Filed under: Garbage Collection
-
What is Garbage Collection?
Ever wondered how and why the Garbage Collection was introduced to the runtimes at the first place? Or interested how the very basics of the GC work? Check out the introduction to the Garbage Collection world.
Filed under: Garbage Collection
-
Logging stop-the-world pauses in JVM
The points at which the application threads may be safely stopped are called safepoints. In this post we analyze the different reasons for the safepoints being triggered and show you a way to monitor your JVM for such events.
Filed under: Garbage Collection Monitoring Performance
-
Turning on GC logging at runtime
There is a well-hidden way to adjust certain JVM parameters during runtime. This post describes a way to change the value of such parmeters with jinfo utility.
Filed under: Garbage Collection
-
Minor GC vs Major GC vs Full GC
Do you know what differentiates Minor GC, Major GC and Full GC events within the JVM? Is this separation even necessary? The post busts some myths about the GC behavior while explaining the way GC really works.
Filed under: Garbage Collection