为什么VisualVM没有显示所有正常选项卡? [英] Why isn't VisualVM showing all the normal tabs?
问题描述
通常我会在VisualVM中看到本地运行Java程序的所有这些选项卡:
Usually I see all these tabs in VisualVM for locally running Java programs:
但是,我有一个本地程序,目前只向我显示概述和监视器(尽管它通常显示所有上面显示的那些):
However, I have one local program which is currently only showing me Overview and Monitor (even though it usually shows all those shown above):
同样有趣的是,VisualVM本身不会显示配置文件选项卡:
Also interesting is that VisualVM itself doesn't present the Profile tab:
显示的所有三个程序都运行相同具有相同Java Home的JVM。
All three of the programs shown are running with the same JVM with the same Java Home.
什么控制为特定程序显示哪些选项卡?如何只显示概述和监视器,我怎样才能将它们全部取回?
What controls which tabs are shown for a particular program? How can I get them all back for my program showing just Overview and Monitor?
我有Visual VM 1.3.5(在此日期最新)和JDK 1.7.0_17。
I have Visual VM 1.3.5 (latest at this date) and JDK 1.7.0_17.
推荐答案
我发现这是使用错误的JDK版本的问题。在我的情况下,我的应用程序在64位JDK上运行,我从32位JDK启动VisualVM。
从运行我的应用程序的同一JDK启动VisualVM后,一切都很好。希望它会对你有所帮助。
I found that this was the issue of usage of wrong JDK version. In my case my application was running on 64bit JDK and I started VisualVM from 32bit JDK. After starting VisualVM from the same JDK on which my application is running, everything was fine. Hope it will help you.
这篇关于为什么VisualVM没有显示所有正常选项卡?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!