ntbang0901
8492dc530a
feat(run): Dump Threads for JVM run and debug sessions, with deadlocks ( #5595 )
...
Run › Dump Threads (Run tool window toolbar, for running Java applications, JAR applications, Gradle bootRun and Maven run goals) and Debug › Dump Threads (debugger toolbar menu) take a `Thread.print -l` of the JVM and open it in a thread viewer tab of the Run tool window: threads grouped by state with a filter and a toggle to hide JVM-internal threads, the selected thread's stack with navigable frames, deadlocks shown as a banner with the threads marked, and Refresh to take the next dump into the same tab.
- The run's JVM is the deepest HotSpot JVM of the run's process tree; Gradle runs, whose JVM forks under the daemon, are found by a stable -Dopenidea.run.token property instead, skipping Gradle's own JVMs.
- The attach listener is started only for a confirmed HotSpot JVM: the trigger file is private and created exclusively, a foreign socket is refused, and OpenJ9 is never sent SIGQUIT.
- A JVM a debugger holds suspended is dumped only when its listener is already open and the JDK is 17 or later; a debugged run's dump goes through its debug session, and Attach to Process links the session to the run.
- Remote runs, exited programs and JVMs with the attach mechanism disabled report why no dump was taken.
- The Run tool window comes forward when a dump opens, including one taken from the debugger.
Co-authored-by: ntbang0901 <[email protected] >
2026-11-25 02:01:59 +08:00
..
2026-11-11 21:23:38 +08:00
2026-11-25 00:59:59 +08:00
2026-11-25 02:01:59 +08:00
2026-11-18 09:10:40 +08:00
2026-11-18 19:27:54 +08:00
2026-11-13 13:46:25 +08:00
2026-11-19 08:36:35 +08:00
2026-11-20 19:36:19 +08:00
2026-11-23 22:32:58 +08:00
2026-11-23 22:32:58 +08:00
2026-11-18 21:25:58 +08:00
2026-11-09 17:05:20 +08:00
2026-11-20 13:45:47 +08:00
2026-11-04 01:09:07 +08:00
2026-11-19 17:07:13 +08:00
2026-11-19 17:07:13 +08:00
2026-11-01 12:23:08 +08:00
2026-11-01 12:23:08 +08:00
2026-11-23 23:22:47 +08:00
2026-11-01 15:04:28 +08:00
2026-11-01 15:04:28 +08:00
2026-11-25 01:20:59 +08:00
2026-11-18 09:20:09 +08:00
2026-11-18 09:20:09 +08:00
2026-11-13 22:29:59 +08:00
2026-11-01 19:02:00 +08:00
2026-11-22 00:07:39 +08:00
2026-11-22 00:37:11 +08:00
2026-11-06 14:24:59 +08:00
2026-11-06 14:24:59 +08:00
2026-11-12 22:50:59 +08:00
2026-11-12 22:50:59 +08:00
2026-11-17 04:09:12 +08:00
2026-11-19 21:40:05 +08:00
2026-11-06 23:02:34 +08:00
2026-11-06 23:02:34 +08:00
2026-11-08 06:13:21 +08:00
2026-11-08 06:13:21 +08:00
2026-11-12 22:42:10 +08:00
2026-11-12 22:42:10 +08:00
2026-11-14 00:52:49 +08:00
2026-11-14 00:52:49 +08:00
2026-11-12 03:27:33 +08:00
2026-11-23 23:22:47 +08:00
2026-11-23 23:22:47 +08:00
2026-11-11 19:30:15 +08:00
2026-11-15 04:32:12 +08:00
2026-11-09 17:17:27 +08:00
2026-11-10 06:48:36 +08:00
2026-11-09 17:17:27 +08:00
2026-11-03 22:34:29 +08:00
2026-11-03 22:34:29 +08:00
2026-11-20 22:10:02 +08:00
2026-11-20 22:10:02 +08:00
2026-11-22 00:37:11 +08:00
2026-11-04 06:51:41 +08:00
2026-11-04 06:51:41 +08:00
2026-11-16 09:36:14 +08:00
2026-11-12 02:38:45 +08:00
2026-11-12 02:38:45 +08:00
2026-11-18 23:38:57 +08:00
2026-11-14 01:17:26 +08:00
2026-11-18 16:14:32 +08:00
2026-11-16 23:50:42 +08:00
2026-11-23 20:40:44 +08:00
2026-10-25 21:24:00 +08:00
2026-11-05 23:09:55 +08:00
2026-11-05 23:09:55 +08:00
2026-11-19 22:42:00 +08:00
2026-11-19 22:42:00 +08:00
2026-11-25 01:38:09 +08:00
2026-11-25 01:38:09 +08:00
2026-11-24 20:52:43 +08:00
2026-11-24 20:52:43 +08:00
2026-11-24 20:52:43 +08:00
2026-11-24 20:52:43 +08:00
2026-11-20 16:26:23 +08:00
2026-11-04 14:22:38 +08:00
2026-11-24 08:38:28 +08:00
2026-11-23 23:58:16 +08:00
2026-11-23 23:58:16 +08:00
2026-11-20 09:13:29 +08:00
2026-11-20 09:13:29 +08:00
2026-11-10 03:14:20 +08:00
2026-11-10 03:14:20 +08:00
2026-11-24 08:38:43 +08:00
2026-11-22 15:14:54 +08:00
2026-11-05 21:50:06 +08:00
2026-11-24 23:35:44 +08:00
2026-11-20 05:41:29 +08:00
2026-11-23 23:22:47 +08:00
2026-11-17 03:20:18 +08:00
2026-11-24 21:14:11 +08:00
2026-10-27 12:09:51 +08:00
2026-10-27 18:56:54 +08:00
2026-11-24 21:56:51 +08:00
2026-11-24 21:56:51 +08:00
2026-11-23 23:58:16 +08:00
2026-11-04 02:54:31 +08:00
2026-11-24 06:30:41 +08:00
2026-11-08 00:05:41 +08:00
2026-11-12 02:09:24 +08:00
2026-11-12 02:09:24 +08:00
2026-11-12 02:09:24 +08:00
2026-11-16 03:32:43 +08:00
2026-11-14 10:28:39 +08:00
2026-11-14 10:28:39 +08:00
2026-11-19 23:07:13 +08:00
2026-11-20 02:49:08 +08:00
2026-11-01 00:14:56 +08:00
2026-11-01 00:14:56 +08:00
2026-11-12 02:09:24 +08:00
2026-11-12 02:09:24 +08:00
2026-11-21 19:33:15 +08:00
2026-11-21 19:33:15 +08:00
2026-11-08 01:16:31 +08:00
2026-11-08 01:16:31 +08:00
2026-11-11 22:18:48 +08:00
2026-11-11 22:18:48 +08:00
2026-11-23 22:24:23 +08:00
2026-11-23 22:24:23 +08:00
2026-11-09 08:40:40 +08:00
2026-11-04 20:44:19 +08:00
2026-11-04 20:44:19 +08:00
2026-11-09 19:23:05 +08:00
2026-11-16 18:37:29 +08:00
2026-11-05 11:23:39 +08:00
2026-11-05 11:23:39 +08:00
2026-10-31 20:58:45 +08:00
2026-11-22 00:13:04 +08:00
2026-11-01 16:58:49 +08:00
2026-10-29 10:43:30 +08:00
2026-10-29 10:43:30 +08:00
2026-11-24 06:40:00 +08:00
2026-11-16 09:34:42 +08:00
2026-11-16 09:34:42 +08:00
2026-11-24 21:41:48 +08:00
2026-11-24 22:41:12 +08:00
2026-11-24 11:42:00 +08:00
2026-11-24 22:41:12 +08:00
2026-11-13 19:18:33 +08:00
2026-11-05 13:33:35 +08:00
2026-11-05 13:33:35 +08:00
2026-11-09 08:40:40 +08:00
2026-11-16 09:36:14 +08:00
2026-11-16 09:36:14 +08:00
2026-11-23 22:24:23 +08:00
2026-11-23 22:24:23 +08:00
2026-10-25 21:24:00 +08:00
2026-10-25 21:24:00 +08:00
2026-11-08 00:21:42 +08:00
2026-11-18 21:25:58 +08:00
2026-11-18 21:25:58 +08:00
2026-11-17 09:33:49 +08:00
2026-11-18 09:10:40 +08:00
2026-11-07 10:56:59 +08:00
2026-11-05 21:38:12 +08:00
2026-11-12 22:42:10 +08:00
2026-11-12 22:42:10 +08:00
2026-11-04 02:54:31 +08:00
2026-11-25 00:45:06 +08:00
2026-11-22 21:57:30 +08:00
2026-11-21 12:25:12 +08:00
2026-11-23 21:13:35 +08:00
2026-11-23 21:13:35 +08:00
2026-11-22 05:23:22 +08:00
2026-11-22 05:23:22 +08:00
2026-10-29 15:01:01 +08:00
2026-11-17 21:15:20 +08:00
2026-11-17 21:15:20 +08:00
2026-10-30 22:45:42 +08:00
2026-10-30 22:45:42 +08:00
2026-11-25 01:20:59 +08:00
2026-11-25 01:20:59 +08:00
2026-10-31 22:38:16 +08:00