For load testing, the CPU sampling profiling mode has very low overhead.
对于负载测试,CPU采样分析模式的开销非常小。
This mode allows the application to run normally, but produces no profiling data until a client attaches to the agent to give it instructions.
这种模式允许应用程序正常运行,但不生成分析数据,直到客户机连接到代理并向其发布指令。
That is, when the profiling agent is launched in controlled mode, it appears to hang the JVM until asked to start monitoring and it produces only XML fragments instead of a complete XML document.
这意味着,当剖析代理以controlled模式启动时,它似乎挂起JVM,直到被指示启动监控;它只生成xml碎片,而不是完整的XML文档。
应用推荐