跟踪Java线程创建和生命周期 [英] Tracking Java thread creation and lifetime

查看:89
本文介绍了跟踪Java线程创建和生命周期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可用的工具来跟踪Java线程的创建和生命周期?我会对以下所有内容感兴趣:

Are there any tools available to track the creation and lifetime of Java threads? I would be interested in all of the following:


  • 调用新线程的调用堆栈()

  • 调用start()的调用堆栈

  • run()方法的生命周期

推荐答案

我已经编写并发布了一个开源工具来回答这个问题。

I have written and published an open source tool to answer this question.

Java实时线程分析器

我在博客上发表了关于该工具的文章此处

I have blogged about the tool here.

这篇关于跟踪Java线程创建和生命周期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆