Garbage Collection - unsung Hero

Garbage Collection – Unsung Hero

Garbage Collection is a facet often disregarded and underestimated, yet beneath its surface lies the potential for profound impacts on your organization that reach far beyond the realm of application performance. In this post, we embark on a journey to…

Why yCrash?

In the world of software engineering, where innovation meets precision, yCrash emerges as a toolkit designed to enhance Java performance monitoring and diagnostics. A DevOps engineer, would delve into this article as a guide that shares the practical advantages of…

Untangling Deadlocks Caused by Java’s parallelStream

Concurrency is both the boon and bane of software development. The promise of enhanced performance through parallel processing comes hand in hand with intricate challenges, such as the notorious deadlock. Deadlocks, those insidious hiccups in the world of multithreaded programming,…

How to capture and analyze Thread dumps in Android?

Discover the power of thread dumps in Android development. Learn what thread dumps are, how to capture them using commands like ‘dumpsys thread’ and ‘jstack,’ and uncover the insights they offer. Explore the effectiveness of ‘fastThread,’ a user-friendly tool that…

Parallel Sort

Everyone knows about what sorting is. There are so many computer algorithms that have emerged to support sorting. Some of the well-known algorithms are quick sort, heap sort, merge sort etc.

‘Troubleshooting Java’ book features fastThread

Laurentiu Spilca, a talented Java and Spring developer, authored "Troubleshooting Java," focusing on code investigation techniques to optimize and debug JVM applications. The book offers practical insights and real-world examples, including effective use of the yCrash-fastThread tool for analyzing thread dumps, quickly identifying issues like deadlocks to enhance Java app performance.

Java ZGC algorithm Tuning

ZGC is a specialized Java garbage collector that efficiently manages large heaps with minimal pause times, ideal for memory-intensive applications. This post details tuning parameters like heap size, concurrent GC threads, and NUMA support, emphasizing the importance of analyzing GC logs for performance optimization to enhance application efficiency.

Parallelism in ConcurrentHashMap

ConcurrentHashMap enhances multi-threaded applications by incorporating parallelism, introduced in Java 1.8. It allows tasks to be divided into subproblems solved concurrently, optimizing processes through the ForkJoinPool API. Parallelism can be controlled via a threshold, improving performance significantly with larger datasets while enabling efficient thread management.

Diagnose CPU spike in a non-intrusive manner!

This post outlines a non-intrusive method for diagnosing CPU spikes in Java Virtual Machine (JVM) applications using the open-source yCrash data script. It captures 360° data without significant overhead, enabling thorough analysis of CPU-consuming threads. Users can diagnose issues and obtain root cause reports efficiently, aiding in effective troubleshooting.