首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >VisualVM分析在检测类时挂起

VisualVM分析在检测类时挂起
EN

Stack Overflow用户
提问于 2015-10-08 12:52:43
回答 1查看 1.5K关注 0票数 3

在尝试使用VisualVm分析时,我有一种奇怪的行为。

Hostsystem = SUSE Linux企业服务器10 Java JDK (运行VisualVM和Application )= jdk1.8.0_40 64位

使用相同的JDK分析在主机上运行的其他应用程序(例如Tomcat)没有这个问题。

在Windows上分析我的应用程序(从Eclipse运行)也很好。

在启动分析之后,日志读取以下行:

代码语言:javascript
复制
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 ...

我的应用程序有以下JVM参数(BTW )。我在其他地方读到,设置tmp Dir有问题,但是删除参数也没有帮助)

代码语言:javascript
复制
-XX:-UseLWPSynchronization
-XX:+UseConcMarkSweepGC
-Djava.rmi.server.hostname=<removed>
-Duser.timezone=Europe/Berlin
-Dcom.sun.management.config.file=/global/ECAS_TESTAS/ecastest/ecas/conf/management.properties
-Dsun.rmi.transport.tcp.handshakeTimeout=180000
-Dsun.rmi.dgc.client.gcInterval=600000
-Dsun.rmi.dgc.server.gcInterval=600000
-verbose:gc
-XX:CompileCommand=exclude,ecas/logik/ELogikKomponentenVersion.doBerechnen
-XX:CICompilerCount=2
-Djava.io.tmpdir=/global/ECAS_TESTAS/ecastest/ecas/tmp
-XX:NewSize=2100m
-XX:SurvivorRatio=20
-Xms10000m
-Xmx10000m
-XX:MaxPermSize=120m

在这里,您可以找到一个显示问题的屏幕截图

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2015-10-09 11:32:58

经过一些关于发送西格项(gil-3pid)以生成堆栈跟踪的研究,我发现,visualvm仍然在解析可能的类。之后,我注意到了这一过程“。在类路径中。所以我把它拿走了。现在,它如预期的那样工作。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/33016411

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档