jlfwong/speedscope

Format Support: concatenated output from many calls to jstack

Aperta

#173 aperta il 7 ott 2018

 (3 commenti) (0 reazioni) (0 assegnatari)TypeScript (319 fork)batch import
charity donation bountyhelp wantedimport source

Metriche repository

Star
 (6726 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Poor man's profiling of a JVM:

$ for i in `seq 1 300`;do jstack $(pgrep java) > $i.jstack;sleep 1;done;zip profile.zip *.jstack;rm *.jstack

...and then uploading profile.zip. I'm tired of opening up traffic for profiling to production and/or building lots of tooling around it. jstack (and shell) is always availalable.

Guida contributor