mirror of https://github.com/alibaba/arthas.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
580 B
Markdown
33 lines
580 B
Markdown
5 years ago
|
|
||
|
按行统计输出结果
|
||
|
|
||
|
`jad demo.MathGame main`{{execute T2}}
|
||
|
|
||
|
```bash
|
||
|
$ jad demo.MathGame main
|
||
|
|
||
|
ClassLoader:
|
||
|
+-sun.misc.Launcher$AppClassLoader@70dea4e
|
||
|
+-sun.misc.Launcher$ExtClassLoader@7a616cb1
|
||
|
|
||
|
Location:
|
||
|
/home/scrapbook/tutorial/arthas-demo.jar
|
||
|
|
||
|
public static void main(String[] args) throws InterruptedException {
|
||
|
MathGame game = new MathGame();
|
||
|
while (true) {
|
||
|
game.run();
|
||
|
TimeUnit.SECONDS.sleep(1L);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Affect(row-cnt:1) cost in 138 ms.
|
||
|
```
|
||
|
|
||
|
`jad demo.MathGame main | wc -l`{{execute T2}}
|
||
|
|
||
|
```bash
|
||
|
$ jad demo.MathGame main | wc -l
|
||
|
13
|
||
|
```
|