Skip to content

Commit

Permalink
m
Browse files Browse the repository at this point in the history
  • Loading branch information
ityouknow committed Jan 30, 2021
1 parent 7412b4d commit fd64353
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions _posts/2017/2017-09-03-jvm-command.md
Original file line number Diff line number Diff line change
Expand Up @@ -478,9 +478,9 @@ Execute Object Query Language (OQL) query

一般查看堆异常情况主要看这个两个部分:
Show instance counts for all classes (excluding platform),平台外的所有对象信息。如下图:
![](http://ityouknow.com/assets/images/2016/jvm-jhat-excluding-paltform.png) <br/>
![](http://favorites.ren/assets/images/2016/jvm-jhat-excluding-paltform.png) <br/>
Show heap histogram 以树状图形式展示堆情况。如下图:
![](http://ityouknow.com/assets/images/2016/jvm-jhat-heap-histogram.png) <br/>
![](http://favorites.ren/assets/images/2016/jvm-jhat-heap-histogram.png) <br/>
具体排查时需要结合代码,观察是否大量应该被回收的对象在一直被引用或者是否有占用内存特别大的对象无法被回收。<br/>
**一般情况,会down到客户端用工具来分析**

Expand Down
4 changes: 2 additions & 2 deletions _posts/2017/2017-09-18-GC-Analysis.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,10 @@ Full GC回收日志:
通过两张图非常明显看出gc日志构成:

Young GC日志:
![](http://ityouknow.com/assets/images/2017/jvm/Young GC.png)
![](http://favorites.ren/assets/images/2017/jvm/Young GC.png)

Full GC日志:
![](http://ityouknow.com/assets/images/2017/jvm/Full GC.png)
![](http://favorites.ren/assets/images/2017/jvm/Full GC.png)


## GC分析工具
Expand Down
4 changes: 2 additions & 2 deletions _posts/2017/2017-09-28-jvm-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,11 @@ GC最基础的算法有三种:标记 -清除算法、复制算法、标记-压

Young GC日志:

![](http://ityouknow.com/assets/images/2017/jvm/Young GC.png)
![](http://favorites.ren/assets/images/2017/jvm/Young GC.png)

Full GC日志:

![](http://ityouknow.com/assets/images/2017/jvm/Full GC.png)
![](http://favorites.ren/assets/images/2017/jvm/Full GC.png)

**调优命令**

Expand Down

0 comments on commit fd64353

Please sign in to comment.