Situation:
I have installed VisualVM 1.3.8 on my Windows 10 Anniversary Edition (and not using the one that came with the JDK 8).
I would like to use this to Profile a Java (Play) App.
What Happens:
When starting the CPU profiling, it first asks that I need to calibrate, and when that happens it hangs at the stage.
The Display showing the hanging
What I Have Tried:
I tried this on MacOS 8, and it does go through the calibration steps OK.
I have edited the etc/visualvm.conf to disable the d3d pipline feature.
visualvm_default_options="-J-Dsun.java2d.d3d=false -J-client -J-Xms24m -J-Xmx256m -J-XX:+IgnoreUnrecognizedVMOptions -J-Dnetbeans.accept_license_class=com.sun.tools.visualvm.modules.startup.AcceptLicense -J-Dsun.jvmstat.perdata.syncWaitMs=10000 -J-Dsun.java2d.noddraw=true"
The Goal:
Get the calibration process to complete.
I've found a mailing list entry describing the same problem.
The solution is to start VisualVM from command-line using:
jvisualvm.exe "-J-Dorg.netbeans.profiler.separateConsole=true"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With