Skip to content

Commit

Permalink
prepare for next release
Browse files Browse the repository at this point in the history
  • Loading branch information
calvin1978 committed Aug 24, 2018
1 parent 370332e commit 11867d9
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 11 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<groupId>com.vip.vjtools</groupId>
<artifactId>vjtools</artifactId>
<version>1.0.5-SNAPSHOT</version>
<version>1.0.5</version>
<name>vjtools</name>
<packaging>pom</packaging>

Expand Down
2 changes: 1 addition & 1 deletion standard/sonar-vj/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.vip</groupId>
<artifactId>sonar-vj</artifactId>
<version>1.0.5-SNAPSHOT</version>
<version>1.0.5</version>
<packaging>sonar-plugin</packaging>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion vjkit/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.vip.vjtools</groupId>
<artifactId>vjkit</artifactId>
<version>1.0.5-SNAPSHOT</version>
<version>1.0.5</version>
<packaging>jar</packaging>
<name>vjkit</name>
<description>VIP's core java libraries</description>
Expand Down
12 changes: 9 additions & 3 deletions vjmap/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,31 @@ vjmap的运行需要一段时间,如果中途需要停止执行,请使用kil
指令格式:
```bash
./vjmap.sh ${command} ${pid}
./vjmap.sh ${command} ${path_to_java} ${path_to_coredump}
```


## 2.1 常用指令

针对活着的进程,PID为进程号

```
// 打印整个堆中对象的统计信息,按对象的total size排序:
./vjmap.sh -all PID > /tmp/histo.log
// 推荐,打印老年代的对象统计信息,按对象的oldgen size排序,比-all快很多,暂时只支持CMS:
./vjmap.sh -old PATH_TO_JAVA PATH_TO_COREDUMP > /tmp/histo-old.log
./vjmap.sh -old PID > /tmp/histo-old.log
// 推荐,打印Survivor区的对象统计信息,默认age>=3,可以 -sur:minage=x调整:
./vjmap.sh -sur PID > /tmp/histo-sur.log
```

> 其中PID为目标java进程的进程号。

针对CoreDump

```
./vjmap.sh -old ${path_to_java} ${path_to_coredump}
```


## 2.2 过滤对象大小,不显示过小的对象:
Expand Down
2 changes: 1 addition & 1 deletion vjmap/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.vip.vjtools</groupId>
<artifactId>vjmap</artifactId>
<version>1.0.5-SNAPSHOT</version>
<version>1.0.5</version>
<name>vjmap</name>
<description>jmap with per generation object stats</description>

Expand Down
2 changes: 1 addition & 1 deletion vjmxcli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<groupId>com.vip.vjtools</groupId>
<artifactId>vjmxcli</artifactId>
<name>vjmxcli</name>
<version>1.0.5-SNAPSHOT</version>
<version>1.0.5</version>
<description>jmx command line client</description>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion vjstar/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.vip.vjtools</groupId>
<artifactId>vjstar</artifactId>
<version>1.0.5-SNAPSHOT</version>
<version>1.0.5</version>
<packaging>jar</packaging>
<name>vjstar</name>
<description>VIP's best practice libraries</description>
Expand Down
2 changes: 1 addition & 1 deletion vjtop/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.vip.vjtools</groupId>
<artifactId>vjtop</artifactId>
<version>1.0.5-SNAPSHOT</version>
<version>1.0.5</version>
<name>vjtop</name>
<description>Linux top-like JVM info and busy threads monitoring tools</description>

Expand Down
1 change: 0 additions & 1 deletion vjtop/src/main/java/com/vip/vjtools/vjtop/VJTop.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ public class VJTop {

public static final int DEFAULT_INTERVAL = 10;


public VMDetailView view;

private volatile Integer interval = DEFAULT_INTERVAL;
Expand Down

0 comments on commit 11867d9

Please sign in to comment.