The content discusses garbage collectors in Java, focusing on generational and non-generational types. It highlights the benefits of the Generational Shenandoah GC introduced in Java 21, which efficiently collects young generation objects without pausing application threads. A performance comparison using Neo4J shows improved memory usage and garbage collection speed in Java 24.
How to Master JVM GC Threads? VM Options & Analysis
The garbage collection phase in Java applications is important for keeping performance high. Configuring garbage collector threads, including concurrent and parallel threads, can improve application performance. Be careful with manual thread configuration to avoid performance problems. Analyzing thread dumps can help monitor and enhance performance by identifying problem areas and fine-tuning settings.
Controlling Garbage Collection Threads in Docker: Best Practices
Containerized environments are crucial for modern app development, especially in the cloud. This article looks at how garbage collection threads affect containerized environments. It stresses the importance of using resources wisely and talks about controlling these threads to improve performance, especially with Docker and CPU allocation.
Different Phases of Garbage Collection Events
This article gives an overview of common garbage collection phases such as Mark, Sweep, Evacuation, Young GC, and Full and Old GC. It explains their implementation, impact, and trade-offs. Understanding these phases is essential for optimizing garbage collection in applications. Developers can use GC logging for studying behavior and making necessary adjustments.
Optimizing Robotics application’s Performance!
This post shares an experience in optimizing a Java application controlling warehouse robots, addressing performance issues due to long Garbage Collection (GC) pauses. By analyzing GC logs, the team identified excessive heap size and the CMS algorithm as causes. Switching to the G1 GC algorithm successfully reduced pause times, improving overall application performance.
Shenandoah GC Tuning
Shenandoah GC enhances Java applications by minimizing pause times through concurrent garbage collection and region-based memory management. It is ideal for low-latency and large heap applications, offering various tuning parameters and modes to optimize performance. Effective analysis of garbage collection logs allows developers to fine-tune Shenandoah for their specific needs.
Java CMS GC Tuning
The Java Concurrent Mark & Sweep (CMS) algorithm provides low-latency garbage collection, effective for applications with dynamic memory needs. Although deprecated in JDK 9 and removed in JDK 14, it can still be utilized in earlier versions. This post discusses tuning techniques, advanced options, and performance analysis for optimal results.
Serial GC Tuning
The post provides an overview of the Serial Garbage Collector (GC) tailored for smaller-scale applications, focusing on its simplicity and effectiveness. It details scenarios for its use, tuning parameters for enhanced performance, and tools for analyzing GC logs. By adjusting key parameters, developers can optimize the Serial GC for their applications.
Problems With Finalizer
In Java, the finalize method has been part of the language since its early days, offering a mechanism to perform cleanup activities before an object is garbage collected. However, using finalizers has come under scrutiny due to several performance-related concerns. As of Java 9, the finalize method has been deprecated, and its use is highly... Continue Reading →
GraalVM vs OpenJDK GC Performance Comparison
In this article, we are going to compare the performance of Garbage Collection(GC) of OpenJDK and GraalVM. The GraalVM is a popular open source JVM implementation in Java with a capability to run applications as native images. Apart from that, it has got other functionalities such as fast loading time, compacted memory usages,etc. Let’s compare the... Continue Reading →
