尝试使用VisualVm配置Java应用程序时,我有一种奇怪的行为。
Hostsystem = SUSE Linux Enterprise Server 10
Java
length :: FiniteList a -> Int foo :: FiniteList a -> Bool
(同样正在运行JDK
和应用程序到配置文件)= jdk1.8.0_40 64位
在具有相同VisualVM
的主机上运行的其他应用程序(例如Tomcat)的分析没有此问题。
在Windows上分析我的应用程序(从Eclipse运行)也可以正常工作。
开始分析后,日志会读取以下行:
JDK
我的应用程序有以下INFO [org.netbeans.ui.metrics.profiler]: Profiler Attach
INFO [org.netbeans.ui.metrics.profiler]: Profiler Settings
*** Profiler warning (Thu Oct 08 14:36:10 CEST 2015): class java/lang /UNIXProcess$$Lambda$9/1156856411, ldr = 0 not found anywhere
*** Profiler warning (Thu Oct 08 14:36:10 CEST 2015): class java/lang/invoke/LambdaForm$DMH/1131480230, ldr = 0 not found anywhere
*** Profiler warning (Thu Oct 08 14:36:10 CEST 2015): class java/lang/invoke/LambdaForm$MH/1901642836, ldr = 0 not found anywhere
*** Profiler warning (Thu Oct 08 14:36:10 CEST 2015): class java/lang
... and so on, stopping after 60 lines with similar output ...
参数(顺便说一句。我在其他一些点读过,设置tmp目录有问题,但删除参数也无济于事)
JVM
您在此处找到显示问题的Screenshot。
答案 0 :(得分:1)
经过一些研究发送sigterm(kill -3 pid)来产生堆栈跟踪后我发现,visualvm仍在解析可能的类。 在那之后,我注意到这个过程“。”在课堂上。所以我删除了它。现在它按预期工作。