Pattern

Lock Contention Deadlocks

lock-contention-deadlock

Threads stall or deadlock because shared state is protected by locks (or nested locks) while tasks depend on each other in cycles, so progress stops until one side aborts; parallelism is limited by synchronized sections.