Simulating & troubleshooting BLOCKED threads in Kotlin 

This article explores how threads enter a BLOCKED state in Kotlin due to lock contention. It includes a sample program demonstrating how ten threads can be blocked when accessing a synchronized method that forces them into prolonged sleep. Additionally, it discusses methods for diagnosing blocked threads, including both manual and automated approaches using tools like yCrash.

Simulating & troubleshooting CPU spike in Kotlin

This article describes how to simulate a CPU spike in Kotlin using an example program that launches six threads running infinite loops. It explains methods for troubleshooting high CPU consumption through both manual and automated approaches, highlighting the use of the yCrash tool to identify problematic threads and code lines causing the issue.

Up ↑