Tagged articles
2 articles
Page 1 of 1
Su San Talks Tech
Su San Talks Tech
Feb 19, 2023 · Backend Development

Understanding Java Deadlocks: Causes, Example Code, and Detection Tools

This article explains what a deadlock is, demonstrates a simple Java deadlock example with code, outlines the four necessary conditions, and introduces four practical tools—jstack, jconsole, jvisualvm, and jmc—for diagnosing and resolving deadlocks in Java applications.

ConcurrencyJConsoleJMC
0 likes · 9 min read
Understanding Java Deadlocks: Causes, Example Code, and Detection Tools
ITPUB
ITPUB
Jun 17, 2019 · Databases

How I Fixed a 10‑Second MySQL Query Using Druid and JMC Monitoring

In a Docker‑based test environment, a Dubbo‑called RPC timed out due to a MySQL deadlock caused by missing indexes, and the issue was resolved by monitoring with Druid, remote JMC inspection, killing blocking threads, and adding proper indexes to the locked table.

DockerDruidJMC
0 likes · 7 min read
How I Fixed a 10‑Second MySQL Query Using Druid and JMC Monitoring