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
In my case, the application was running with admin permissions. So, visualVM also need to be running as admin.
My problem was JVM optimizations - -XX:+PerfDisableSharedMem flag will break VisualGC. This is apparent if jps will not show your app in the listing.
-XX:+PerfDisableSharedMem