Skip to content

Instantly share code, notes, and snippets.

@tlrx
Created June 29, 2017 13:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tlrx/2061dff599c0b476130182ad1bfa4a03 to your computer and use it in GitHub Desktop.
Save tlrx/2061dff599c0b476130182ad1bfa4a03 to your computer and use it in GitHub Desktop.
JFR options with custom profile
-XX:+UnlockDiagnosticVMOptions
-XX:+UnlockCommercialFeatures
-XX:+DebugNonSafepoints
-XX:+FlightRecorder
-XX:FlightRecorderOptions=disk=true,maxage=0s,maxsize=0,dumponexit=true,dumponexitpath=/tmp/benchmarks/node-test.jfr
-XX:StartFlightRecording=defaultrecording=true,settings=es-memory-profiling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment