public class ThreadDeadlockDetector extends Object
Modifier and Type | Method and Description |
---|---|
static void |
dumpAllThreadsAndLocks(String msg)
Dump all deadlocks (if any).
|
static void |
dumpAllThreadsAndLocks(String msg,
PrintStream out)
Dump all deadlocks (if any).
|
static void |
init()
Initialize the detector.
|
public static void init()
public static void dumpAllThreadsAndLocks(String msg)
msg
- the messagepublic static void dumpAllThreadsAndLocks(String msg, PrintStream out)
msg
- the messageout
- the outputCopyright © 2020 JBoss by Red Hat. All rights reserved.