MCPcopy Create free account
hub / github.com/SeanDragon/protools / getJvmThreads

Method getJvmThreads

common/src/main/java/pro/tools/system/ToolOS.java:216–221  ·  view source on GitHub ↗

系统线程列表 @return

()

Source from the content-addressed store, hash-verified

214 * @return
215 */
216 public static List<Thread> getJvmThreads() {
217 int activeCount = Thread.activeCount();
218 Thread[] threads = new Thread[activeCount];
219 Thread.enumerate(threads);
220 return Arrays.asList(threads);
221 }
222
223}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected