See: Introduction to Troubleshooting in JDK 9: Serviceability Tools Are Your Friends [CON3733] Slide 39 - 43
jcmd 999 VM.log output="file=gc.log" output_options="filecount=5,filesize=10m" what="gc=debug" decorators="time,level"
See: Introduction to Troubleshooting in JDK 9: Serviceability Tools Are Your Friends [CON3733] Slide 39 - 43
jcmd 999 VM.log output="file=gc.log" output_options="filecount=5,filesize=10m" what="gc=debug" decorators="time,level"
i recently had to use this, thanks for making it discoverable and good SEO