【问题标题】:VisualVM profiler error: "Class JavaLaunchHelper is implemented in both ..bin/java and ..jre/lib"VisualVM 探查器错误:“类 JavaLaunchHelper 在 ..bin/java 和 ..jre/lib 中实现”
【发布时间】:2014-08-22 21:20:33
【问题描述】:

运行 VisualVM 分析器时,它会在正在运行的程序的控制台中显示此错误:

objc[1145]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home/bin/java and /Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is undefined.
Profiler Agent: Waiting for connection on port 5140 (Protocol version: 15)
Profiler Agent: Established connection with the tool
Profiler Agent: Local accelerated session

这是什么意思,我该如何解决?探查器仍然给出结果,但我想确保一切正常,因为很难使用常识来知道给出的结果是否正确。

【问题讨论】:

    标签: java profiler visualvm


    【解决方案1】:

    这是 JDK 中的问题,而不是 VisualVM 中的问题。这个问题没有负面影响,因为该类 JavaLaunchHelper 的两个副本是相同的(从完全相同的源编译)。这纯粹是一个表面问题。

    【讨论】:

      猜你喜欢
      • 2014-06-28
      • 1970-01-01
      • 1970-01-01
      • 2017-08-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多