Reduce scope of thread dumping action so it works on Windows

See gh-39761
This commit is contained in:
Andy Wilkinson 2024-02-28 11:36:33 +00:00
parent 049a2c01ed
commit 164cef1ed1
1 changed files with 0 additions and 2 deletions

View File

@ -7,8 +7,6 @@ runs:
run: |
for java_pid in $(jps -q -J-XX:+PerfDisableSharedMem); do
echo "------------------------ pid $java_pid ------------------------"
cat /proc/$java_pid/cmdline | xargs -0 echo
jcmd $java_pid Thread.print -l
jcmd $java_pid GC.heap_info
done
exit 0