按教程的步骤启动startup_jprofiler.sh
当断开启动sh时,可能弹出如下提示信息:
The JVM has exited. Some profiling infomation will not be available.You can prevent the JVM from existing by selecting "Keep VM alive" on the "Miscellaneous" tab of the profiling settings.
根据上面的提示信息,
导航到“Profiling”->“Show Global Filters For Method Call Recording”->“Profiling Settings”->“Customize Profiling Settings”->“Miscellaneous”,
勾选“Keep VM alive”。