Safepoints and Garbage Collector log file analyzer
- Logs from JDK 11, 12, 13 - works with flags below, tested on Parallel, CMS and G1.
- Logs from JDK 9, 10 - should work.
- Logs from JDK 8 and below - experimental (no GC log support, only safepoint, charts and stas are not accurate, because log file style sucks).
- Max 10MB file (after compression).
- For JDK 11+ decorators: level,tags,time,uptime are needed, check sample Xlog configuration below.
- Max 1 file in compressed archive (will analyze first if there are many).
- UI is ugly.
- UI is optimized for Full HD resolution.
- There is no exception handling at all :)
Import from file ...
Compress logs (*.zip, *.gz, *.xz, *.7z) for fast uploads.
... or paste log here
Unified logger, changing logs at runtime example:
sudo -u JVM_USER jcmd `pgrep -x java` VM.logoutput="file=/PATH/TO/gc.log"
output_options="filesize=104857600,filecount=5"
what="codecache+sweep*=trace,class+unload,class+load,os+thread,safepoint,gc*,gc+stringdedup=debug,gc+ergo=trace,gc+age=trace,gc+phases=trace,gc+humongous=trace,jit+compilation=debug"
decorators="level,tags,time,uptime,pid
VM Args that I use |
Simplest VM Args to add JDK > 8 |
Simplest VM Args to add JDK <= 8 |