# Deadlock

A state where threads wait forever for locks held by one another.

## What is **Deadlock** in Java?

**Deadlock** — A state where threads wait forever for locks held by one another.

Level: Master · [More Java terms at this level](https://www.ask-codey.com/glossary/subjects/java/master)

Updated: September 27, 2026

## In other subjects

- [Deadlock in C#](https://www.ask-codey.com/glossary/deadlock-c-sharp)
- [Deadlock in Database](https://www.ask-codey.com/glossary/deadlock-database)

Source: https://www.ask-codey.com/glossary/deadlock
