编程技术网

关注微信公众号,定时推送前沿、专业、深度的编程技术资料。

 找回密码
 立即注册

QQ登录

只需一步,快速开始

如何使用ThreadDumpVisualizer IntelliJ IDEA插件来分析Java线程转储:How to use ThreadDumpVisualizer IntelliJ IDEA plugin to analyze Java thread dump

peterm 线程 2022-5-13 09:53 25人围观

腾讯云服务器
如何使用ThreadDumpVisualizer IntelliJ IDEA插件来分析Java线程转储的处理方法

我当时想使用一些线程转储分析器来分析Java线程转储,并安装了 ThreadDumpVisualizer IntelliJ IDEA插件,但不确定如何使用它.插件页面: https://plugins.jetbrains.com/plugin/9358-threaddumpvisualizer也不包含任何文档.我可以使用此插件加载现有的线程转储吗?我在从公司/公司机器上的外部公共站点下载内容时受到限制,因此我尝试这样做.

I was looking to use some thread dump analyzer to analyze Java thread dump and installed the ThreadDumpVisualizer IntelliJ IDEA plugin but am not sure how to use it. The plugin page: https://plugins.jetbrains.com/plugin/9358-threaddumpvisualizer also does not contain any documentation. Can I load my existing thread dump using this plugin? I have restriction on downloading from external public site on my work/company machine so I am trying this out.

问题解答

在其GitHub存储库中有描述:

There is a description on its GitHub repo: https://github.com/enslinmike/Thread-dump-visualizer

线程转储可视化器

这是ItelliJ IDEA的插件.该插件的目的是提供方便的方法来分析IntelliJ IDEA的线程转储.您可以在此处

要查看转储的详细信息,应将文件及其一起拖放到线程转储"工具窗口中.支持以下选项:

To see dump's details you should drag and drop file with it to "Thread dumps" tool window. Following options are supported:

  • .txt文件.请注意,只有IDEA format 受支持.不支持其他格式.
  • .zip文件以及一些适当的.txt转储文件
  • .dbconf文件,其中包含与MongoDB的连接信息.数据应位于名为"ThreadDumps"的集合中示例:{"host":"127.0.0.1","port":27017,"dbName":"test"}
  • .txt file. Please note that only IDEA format is supported. Other formats are not supported.
  • .zip file with some proper .txt dump files
  • .dbconf file with connection information to MongoDB. Data should be in collection named "ThreadDumps" Example: { "host" : "127.0.0.1", "port" : 27017, "dbName" : "test" }

[...]

这篇关于如何使用ThreadDumpVisualizer IntelliJ IDEA插件来分析Java线程转储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程技术网(www.editcode.net)!

腾讯云服务器 阿里云服务器
关注微信
^