how to profile application startup with visualvm
问题 As far as i can tell, you can only profile a running application using VisualVM. Does anyone know of a way to profile the launch and startup of a java application using VisualVM? I'm convinced there must be a way, otherwise it would be a major oversight. Hoping I've just misread the documentation. Thanks, p. 回答1: Are you setting up the profiling using the `-Xrunjdwp" command-line option? If so, that option has a "suspend" parameter for just this purpose: True if the target VM is to be