Tag

Thread States

0 views collected around this technical thread.

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.

BackendConcurrencyFlame Graph
0 likes · 10 min read
Analysis of Java Thread States, Flame Graphs, and Performance Optimizations
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.

ConcurrencyJavaThread States
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 internalsJavaThread States
0 likes · 39 min read
Deep Dive into Java Thread States and Synchronized Lock Implementation
Selected Java Interview Questions
Selected Java Interview Questions
Nov 7, 2019 · Fundamentals

Basic Java Multithreading Interview Questions and Answers

This article presents essential Java multithreading interview questions covering thread creation methods, thread lifecycle states, synchronization differences, monitor mechanisms, deadlock definition, and strategies to avoid deadlocks, providing concise explanations for each concept.

InterviewJavaSynchronization
0 likes · 7 min read
Basic Java Multithreading Interview Questions and Answers
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.

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