Skip to content

Commit

Permalink
docs: 完善java.md
Browse files Browse the repository at this point in the history
  • Loading branch information
youngledo committed Jul 13, 2024
1 parent c096de3 commit 032c6e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions docs/java/tools/cli/java.md
Original file line number Diff line number Diff line change
Expand Up @@ -974,6 +974,10 @@ MB进行轮换,除非另有配置。指定 `filecount=0` 表示不应轮换日
##### -Xlog:gc+class+heap*=debug,meta*=warning,threads*=off
使用跟踪级别将至少标记有`gc``class``heap`标签的消息记录到`stdout`,但仅记录标记有`meta``level`的消息。警告级别的所有其他消息的默认配置都有效,但包括线程的消息除外。

最后贴一张,网友分享的详解图:
![java-log-detail.png](assets/java/java-log-detail.png)
整个学习下来,发现参数特别多,不同版本可能还不一样,好在现在有`ChatGPT``通义千问`可以给你解答。

## 附加项

### 一、关于JVM参数的设置(容器化)
Expand Down

0 comments on commit 032c6e4

Please sign in to comment.