From e3fea3b5fd8c301fa09fd0d89c390fee0484f6d5 Mon Sep 17 00:00:00 2001 From: Paul Colin de Verdiere Date: Fri, 2 Feb 2018 14:26:03 +0100 Subject: [PATCH] Ignore "waiting on" in middle of stack --- stackcollapse-java-exceptions.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/stackcollapse-java-exceptions.pl b/stackcollapse-java-exceptions.pl index 1c384cdf..19badbca 100755 --- a/stackcollapse-java-exceptions.pl +++ b/stackcollapse-java-exceptions.pl @@ -59,6 +59,7 @@ sub remember_stack { } unshift @stack, $func; } elsif (@stack ) { + next if m/.*waiting on .*/; remember_stack(join(";", @stack), 1) if @stack; undef @stack; }