28 lines
No EOL
603 B
Markdown
28 lines
No EOL
603 B
Markdown
**JOP**
|
|
|
|
=>'java top'
|
|
|
|
* Simple commandline utility that parses the output of java verbose gc and plots it in a graph
|
|
* Can be used for tailing the file (showing the results in realtime), or on historic files
|
|
* Written in rust. Executable size (release) 2Mb.
|
|
* Sample usage:
|
|
|
|
```bash
|
|
java -verbose:gc -cp src Filler >outfile
|
|
```
|
|
and:
|
|
```bash
|
|
jop outfile
|
|
```
|
|
or:
|
|
```bash
|
|
cargo run outfile
|
|
```
|
|
|
|
* tested on jdk20/G1 collector
|
|
* depends on tail command, so works best on linux/unix/macos
|
|
|
|

|
|
|
|
[GREEN] heap size before garbage collection
|
|
[RED] heapsize after garbage collection |