Degradation in String Deduplication Performance in Recent Java Versions
GC easy – Universal Java GC Log Analyser
by Ram Lakshmanan
1w ago
String deduplication is an important feature aimed at optimizing memory usage by eliminating duplicate strings from heap memory. However, recent observations suggest a concerning trend – a degradation in string deduplication performance across newer Java versions. Thus, we embarked on a comparative analysis to assess the string deduplication performance behavior in Java versions 11, 17, and 21. This post intends to share our observations and insights gleaned from this analysis. WebCrawler Spring Boot Application In order to experiment with string deduplication, we used an open source Web Crawl ..read more
Visit website
How to analyze Node.js Garbage Collection traces?
GC easy – Universal Java GC Log Analyser
by Ram Lakshmanan
2w ago
Is your Node.js application experiencing unresponsiveness or performance bottlenecks? The problem could have originated because of long running Garbage Collection pauses or memory leaks. In such circumstances you might want to study your Node.js application’s Garbage Collection performance. In this post, we’ll walk you through the process of enabling GC traces, interpreting the trace data, and the right tools and knowledge needed to study the Garbage Collection behavior. How to enable Node.js Garbage Collection traces? There are few approaches to enable the Node.js Garbage Collection traces. E ..read more
Visit website
Understanding Node.js GC Traces
GC easy – Universal Java GC Log Analyser
by GCeasy Team
2w ago
Coming soon ..read more
Visit website
How to capture Node.js Garbage Collection traces?
GC easy – Universal Java GC Log Analyser
by Ram Lakshmanan
2w ago
Garbage collection (GC) is a fundamental aspect of memory management in Node.js applications. However, inefficient garbage collection can lead to performance issues, causing application slowdowns and potentially impacting user experience. To ensure optimal performance and diagnose memory problems, it’s essential to study garbage collection traces. In this blog post, we’ll explore various methods for capturing garbage collection traces from Node.js applications. Options to capture Garbage Collection traces from Node.js applications There are 3 options to capture Garbage Collection traces from t ..read more
Visit website
Optimizing Robotics application’s Performance!
GC easy – Universal Java GC Log Analyser
by Ram Lakshmanan
2M ago
In this post, we would like to share our real-world experience in optimizing a Java application which was controlling the robots in a warehouse. This application would give instructions to the robots in the warehouse on what actions to perform. Based on those instructions, robots carry out their job in the warehouse. Occasionally, this application was slowing down and not giving instructions to the robots. If robots don’t receive instructions from the application, they would start to make autonomous decisions causing degenerated behavior in them, which in turn was affecting the delivery and sh ..read more
Visit website
String Deduplication in Java
GC easy – Universal Java GC Log Analyser
by Eugene Kovko
2M ago
In this article, we’ll learn how to improve the performance of the applications that tend to use most of the space due to extensive usage of Strings. There’s no need to store more than one instance of immutable objects in our heap, and String is a good example. Object Allocation Let’s briefly refresh the information about how Strings are allocated on the heap. There are two ways to create a String, using a literal or a new keyword: String stringA = "Hello!"; String stringB = "Hello!"; String stringC = new String("Hello!"); The Strings identity is often a question in interviews and Java quizz ..read more
Visit website
SaaS business CEO’s view on Garbage Collection
GC easy – Universal Java GC Log Analyser
by Ram Lakshmanan
5M ago
Sridhar Vembu, CEO of Zoho corporation, is a great inspiration for several engineers and entrepreneurs. Starting from a humble beginning, how he has built one of the largest SaaS businesses is an eye-opening journey for all of us. I was pleasantly surprised to read his interesting tweet on garbage collection, since optimizing automatic Garbage Collection impacts is a journey that I have been pursuing all these years through our GC tuning product GCeasy. Below is his tweet: As a software engineer, I have long held the conviction that garbage collection is the single worst idea in Computer Sci ..read more
Visit website
CMS GC algorithm removed from Java 14?
GC easy – Universal Java GC Log Analyser
by Ram Lakshmanan
5M ago
Java Concurrent Mark & Sweep (CMS) algorithm is known for concurrently marking and sweeping the memory regions without a significant pause. However, the Concurrent Mark & Sweep algorithm took an unexpected turn when it was deprecated in Java 9 and starting from Java 14 it was completely removed. Java Enhancement Proposal 363, sheds light on this decision, attributing the removal due to the absence of credible contributors stepping up to maintain CMS. In this post, we’ll talk about what this means if you’ve been using CMS. What options do you have now, and how does this impact your Java ..read more
Visit website
Java CMS GC Tuning
GC easy – Universal Java GC Log Analyser
by Ram Lakshmanan
5M ago
Java Concurrent Mark & Sweep (CMS) algorithm operates by dividing the garbage collection process into multiple phases, concurrently marking and sweeping the memory regions without a significant pause. While its design brings benefits in terms of reduced pause times, it also introduces unique challenges that demand careful tuning and optimization.  In this post, we will explore techniques to tune CMS GC for enhanced performance specifically. However, if you want to learn more basics, you may watch this Garbage Collection tuning talk delivered in the JAX London conference. How to enable ..read more
Visit website
Serial GC Tuning
GC easy – Universal Java GC Log Analyser
by Ram Lakshmanan
5M ago
Tailored for simplicity and effectiveness, the Serial GC operates with a single-threaded approach, making it particularly relevant for smaller-scale applications and scenarios where stringent latency requirements aren’t the primary concern. In this post, we will explore techniques to tune Serial GC for enhanced performance specifically. However, if you want to learn more basics, you may watch this Garbage Collection tuning talk delivered in the JAX London conference. How to enable Serial GC? You can enable the Serial Garbage Collector in your Java application by adding the following JVM argume ..read more
Visit website

Follow GC easy – Universal Java GC Log Analyser on FeedSpot

Continue with Google
Continue with Apple
OR