From 294565ca9631462451ddcb7b7919a0cfdf116ea0 Mon Sep 17 00:00:00 2001 From: hengyunabc Date: Thu, 14 Sep 2023 07:19:36 +0000 Subject: [PATCH] Prettified Code! --- site/docs/doc/profiler.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/site/docs/doc/profiler.md b/site/docs/doc/profiler.md index 8013f10e8..e2a97a07d 100644 --- a/site/docs/doc/profiler.md +++ b/site/docs/doc/profiler.md @@ -312,7 +312,6 @@ profiler --cstack fp 此命令将收集 native 栈帧的 Frame Pointer 信息。 - ## 当指定 native 函数执行时开始/停止 profiling 使用 `--begin function` 和 `--end function` 选项在指定 native 函数被执行时让 profiling 过程启动或终止。主要用途是分析特定的 JVM 阶段,比如 GC 和安全点。需要使用特定 JVM 实现中的 native 函数名,比如 HotSpot JVM 中的 `SafepointSynchronize::begin` 和 `SafepointSynchronize::end`。 @@ -324,4 +323,4 @@ profiler --cstack fp ```bash profiler start --begin SafepointSynchronize::begin --end RuntimeService::record_safepoint_synchronized profiler --ttsp -``` \ No newline at end of file +```