Search

Fast thread

Universal Java Thread Dump Analyzer

‘Troubleshooting Java’ book features fastThread

Laurentio Spilca, a Java and Spring expert, authored "Troubleshooting Java" to teach efficient code investigation, optimization, and bug fixing. The book includes techniques from basic debugging to advanced microservices methods. Notably, it demonstrates using the yCrash-fastThread tool for analyzing thread dumps, effectively diagnosing deadlock issues in Java applications.

DevopsCon 2023 – 16 ARTIFACTS TO CAPTURE WHEN YOUR CONTAINER APPLICATION IS IN TROUBLE

DevopsCon, a global conference in Berlin, featured a talk on “16 ARTIFACTS TO CAPTURE WHEN YOUR CONTAINER APPLICATION IS IN TROUBLE.” The session addressed key troubleshooting artifacts and provided analysis tools and techniques. Attendees rated the talk and speaker's knowledge highly at 5, contrasting the overall average of 3.84 and 4.22 for all speakers.

DevopsCon 2023 – MAJOR OUTAGES IN MAJOR ENTERPRISES

DevopsCon is a global conference on DevOps and Business Transformation held in Berlin, where an architect presented on "MAJOR OUTAGES IN MAJOR ENTERPRISES." The session analyzed critical outages and troubleshooting techniques. Attendees rated the talk and speaker's knowledge a perfect 5, compared to an overall average of 3.84 and 4.22 for all speakers.

Parallelism in ConcurrentHashMap

ConcurrentHashMap enhances multi-threaded applications through parallelism, introduced in Java 1.8. This allows problems to be divided into subproblems running across separate threads. Using the fork and join framework, methods like forEach can leverage this feature. While parallelism improves performance with numerous entries, its benefits are less noticeable with fewer records.

ThreadLocal – easy introduction

This post discusses variable scopes in Java, highlighting the ThreadLocal variable, which is thread-specific and not accessible by other threads. It compares ThreadLocal with traditional variable passing methods, demonstrating how it can simplify code. The article also outlines advantages and disadvantages of using ThreadLocal, emphasizing careful implementation.

How Do Static Synchronized Methods Work in Java?

The post explains the behavior of static synchronized methods in Java, demonstrating how two threads can interact when trying to execute such methods simultaneously. It illustrates that a static synchronized method locks the class object, preventing concurrent access, while a non-static synchronized method allows simultaneous execution when threads lock different objects.

What is a Java Synchronized Block? Examples & Advantages

This post discusses Java's synchronized blocks, which allow for more granular control over thread synchronization compared to synchronized methods. The synchronized block only controls access to a specific section of code, whereas synchronized methods lock the entire method. Benefits and drawbacks of each approach are summarized, emphasizing clarity and flexibility.

Can threads execute same synchronized method on different objects?

This post discusses the behavior of synchronized methods in Java, illustrating how multiple threads can invoke the same synchronized method on different objects simultaneously without contention. A demonstration program showcases this behavior, confirming no blocking occurs between threads, as each possesses a unique lock for the respective object. Further exploration of synchronized methods is encouraged.

Diagnose CPU spike  – non-intrusive approach!

This post outlines a non-intrusive method for diagnosing CPU spikes in production environments using the yCrash data script. It captures 360° data from JVM applications with minimal overhead and allows for analysis of CPU consumption by threads. The process includes data capturing, uploading, and generating a unified root cause analysis report.

Up ↑