Tagged articles
2 articles
Page 1 of 1
FunTester
FunTester
Feb 20, 2024 · Backend Development

Deadlock, Livelock, and Thread Starvation in Java Concurrency

This article explains Java concurrency issues such as deadlock, livelock, and thread starvation, demonstrates deadlock examples, discusses prevention techniques like timeouts and lock ordering, and provides an overview of the java.util.concurrent package including executors, locks, semaphores, latches, barriers, and concurrent collections.

ConcurrencyThread Starvationdeadlock
0 likes · 33 min read
Deadlock, Livelock, and Thread Starvation in Java Concurrency
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jul 1, 2020 · Fundamentals

Understanding Deadlocks: Causes, Conditions, Prevention, Detection, and Recovery

This article explains what deadlocks are, the necessary conditions that cause them, how resources can be classified, various detection and avoidance techniques—including the banker’s algorithm and ostrich approach—and discusses related issues such as livelocks, starvation, and communication deadlocks.

banker's algorithmdeadlocklivelock
0 likes · 24 min read
Understanding Deadlocks: Causes, Conditions, Prevention, Detection, and Recovery