可能重复:
Can I get the name of the class and method within which the current thread was spawned?如何确定哪些启动一个线程
是否有任何工具(可能是一个javaagent),这将让我鉴定一下开始在事件发生后一个线程?
我有一个Tomcat不会关闭,并且线程名称(来自转储)没有多大用处。
可能重复:
Can I get the name of the class and method within which the current thread was spawned?如何确定哪些启动一个线程
是否有任何工具(可能是一个javaagent),这将让我鉴定一下开始在事件发生后一个线程?
我有一个Tomcat不会关闭,并且线程名称(来自转储)没有多大用处。
确定重复:)投票结束。 – Rich
我想说这不是重复的,因为OP想知道这事实后。然后我意识到OP要关闭它:) –