It is said in documentation, that I should manually find my application in VisualVM window and "Open" it:
Can I avoid this step?
For example, to use ScenicView I can run my application with
-javaagent:ScenicView.jar
and it will start Scenic View automatically.
Can I do the same with VisualVM?
An option would be the Eclipse Visual VM Launcher , when you are starting you application from within the IDE:
https://visualvm.java.net/eclipse-launcher.html
Another option is to use the "Visual VM Startup Profiler" as explained here: https://visualvm.github.io/startupprofiler.html
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.