Tagged articles

thread states

10 articles · Page 1 of 1
liandk
liandk
Sep 14, 2026 · Backend Development

Java Thread Deadlock & Pool Exhaustion: Production Troubleshooting Guide

This guide covers real-world diagnosis and resolution of Java thread deadlocks and thread pool exhaustion — the two most common causes of service hangs with zero errors — using jstack, Arthas, and thread-state analysis to pinpoint root causes and apply permanent fixes.

ArthasJavaProduction Troubleshooting
0 likes · 13 min read
Java Thread Deadlock & Pool Exhaustion: Production Troubleshooting Guide
Architect Chen
Architect Chen
Aug 25, 2026 · Fundamentals

Java Thread States Explained: 6 States with Visual Diagrams

This article provides a comprehensive explanation of Java's six thread states—New, Runnable, Blocked, Waiting, Timed Waiting, and Terminated—with visual diagrams illustrating each state's transitions and typical triggers such as lock acquisition, wait/notify, and timeout mechanisms.

ConcurrencyJavaJava Interview
0 likes · 3 min read
Java Thread States Explained: 6 States with Visual Diagrams
JD Tech Talk
JD Tech Talk
Mar 14, 2025 · Backend Development

Analysis of Java Thread States, Flame Graphs, and Performance Optimizations

The article examines Java thread states—WAITING and TIMED_WAITING—through monitoring screenshots, explains their definitions, trigger conditions, and recovery mechanisms, analyzes real‑world code involving concurrent tasks, and presents flame‑graph based performance optimizations for backend services.

Javaflame graphperformance profiling
0 likes · 10 min read
Analysis of Java Thread States, Flame Graphs, and Performance Optimizations
Architect Chen
Architect Chen
Feb 23, 2024 · Fundamentals

Mastering Java’s Six Thread States: A Visual Guide

This article explains Java’s six thread states—NEW, RUNNABLE, BLOCKED, WAITING, TIMED_WAITING, and TERMINATED—using clear diagrams, concise descriptions, and practical code examples to help developers understand how threads transition during execution.

Concurrencyprogrammingthread
0 likes · 6 min read
Mastering Java’s Six Thread States: A Visual Guide
Cognitive Technology Team
Cognitive Technology Team
Apr 30, 2022 · Fundamentals

Java Thread States and How to Query Them

This article explains Java’s six thread states—NEW, RUNNABLE, BLOCKED, WAITING, TIMED_WAITING, and TERMINATED—provides detailed descriptions, shows how to inspect thread states using jstack and online tools, and includes example thread dumps for practical analysis.

ConcurrencyJavajstack
0 likes · 6 min read
Java Thread States and How to Query Them
Youzan Coder
Youzan Coder
Jul 8, 2021 · Backend Development

Deep Dive into Java Thread States and Synchronized Lock Implementation

The article thoroughly explains Java thread states and how the synchronized keyword is implemented, detailing the mapping to OS thread states, the object header’s Mark Word, biased, lightweight and heavyweight locking, CAS‑based state transitions, bytecode monitor instructions, lock upgrades, and optimal usage scenarios.

JVM InternalsJavalocking
0 likes · 39 min read
Deep Dive into Java Thread States and Synchronized Lock Implementation
Java Captain
Java Captain
Sep 14, 2018 · Fundamentals

Java Thread States: Overview of the Six Lifecycle States

This article explains Java's six thread states—NEW, RUNNABLE, BLOCKED, WAITING, TIMED_WAITING, and TERMINATED—detailing their meanings, transitions, related waiting and synchronization queues, and comparing key thread-control methods such as sleep, yield, join, wait, and notify.

Javamultithreadingthread
0 likes · 9 min read
Java Thread States: Overview of the Six Lifecycle States