Search

GC easy – Universal Java GC Log Analyser

Tag

Application performance

Degradation in String Deduplication Performance in Recent Java Versions

This is an investigative piece on the performance of string deduplication in different versions of Java. The investigation compared Java versions 11, 17, and 21 and their ability to remove duplicate strings. It utilized a WebCrawler application and JMeter load testing to gather data. The findings revealed that Java 11 outperformed versions 17 and 21, eliminating 34.3% of duplicates in 1,264.442 milliseconds. However, newer versions showed a decline in performance, deduplicating fewer strings over longer periods of time.

How Robotics app reduced GC pause time from 5 minutes to 2 seconds

The post discusses optimizing a Java application used for controlling warehouse robots, which faced performance issues due to long Garbage Collection (GC) pauses. By analyzing the GC log, it identified a large heap size and the CMS GC algorithm as culprits. Switching to the G1 GC algorithm reduced GC pauses significantly, enhancing application performance without major structural changes.

Up ↑