This page is under heavy development. Tested mostly on G1/Parallel GC on JDK 11+. If you have any issues, contact ks@gclogs.com.

Before you upload

  • Logs from JDK 11, 12, 13works 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 stats are not accurate).
  • Max 33MB file (after compression).
  • For JDK 11+ decorators: level, tags, time, uptime are needed. Check sample Xlog configuration below.
  • You can add many log files in one zip/7z archive. Files will be ordered by first line timestamp.
-Xlog:codecache=info,
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
:file=/tmp/app.log
:level,tags,time,uptime
:filesize=104857600,filecount=5
-Xlog:safepoint,
gc*,
gc+heap=trace,
gc+age=trace,
gc+phases=trace,
gc+humongous=trace
:file=/tmp/app.log
:level,tags,time,uptime
-XX:+PrintSafepointStatistics
-XX:PrintSafepointStatisticsCount=1
-XX:LogFile=/tmp/app.log
-XX:+LogVMOutput
sudo -u JVM_USER jcmd `pgrep -x java` VM.log
output="file=/PATH/TO/gc.log"
output_options="filesize=104857600,filecount=5"
what="codecache=info,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

Terms of service

Files you upload will be stored on the author's server and can be used by the author. This page is created for the author's purposes — use at your own risk.