VisualVM “not supported for this JVM” on all local applications?

前端 未结 14 2319
故里飘歌
故里飘歌 2020-12-16 09:05

I have already spent a long time to load and test my application, now I need to profile it. But unluckily, the VisualVM always says \"not supported for this JVM\" on my loca

相关标签:
14条回答
  • 2020-12-16 09:49

    In my case, the application was running with admin permissions. So, visualVM also need to be running as admin.

    0 讨论(0)
  • 2020-12-16 09:52

    My problem was JVM optimizations - -XX:+PerfDisableSharedMem flag will break VisualGC. This is apparent if jps will not show your app in the listing.

    0 讨论(0)
提交回复
热议问题