Skip to content

Instantly share code, notes, and snippets.

@jbachorik
Created December 21, 2020 09:57
Show Gist options
  • Select an option

  • Save jbachorik/fa042b89bf843f844cb23adbb491d64a to your computer and use it in GitHub Desktop.

Select an option

Save jbachorik/fa042b89bf843f844cb23adbb491d64a to your computer and use it in GitHub Desktop.

Start a JVM with active recording which gets persisted to <path>

java -XX:+FlightRecorder -XX:StartFlightRecording=maxsize=1g,filename=<path> ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment