From 164cef1ed16589e96e3e229bef36e10eef79b429 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Wed, 28 Feb 2024 11:36:33 +0000 Subject: [PATCH] Reduce scope of thread dumping action so it works on Windows See gh-39761 --- .github/actions/print-jvm-thread-dumps/action.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/actions/print-jvm-thread-dumps/action.yml b/.github/actions/print-jvm-thread-dumps/action.yml index e5ddf48457d..4ce811bc00a 100644 --- a/.github/actions/print-jvm-thread-dumps/action.yml +++ b/.github/actions/print-jvm-thread-dumps/action.yml @@ -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 \ No newline at end of file