mirror of
https://gitee.com/arthas/arthas.git
synced 2024-12-02 12:17:45 +08:00
33 lines
568 B
Markdown
33 lines
568 B
Markdown
|
|
||
|
Count lines.
|
||
|
|
||
|
`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
|
||
|
```
|