carrotsearch/randomizedtesting — Issue #18: Add stack trace based diagnostics before a test thread times out
Author: dweiss
Created: 2011-11-05 15:08:40+00:00
State: open
Labels: feature

This is relatively easy: before a test thread (or any other leaked thread?) times out, dump its stack trace several times in short intervals. Collect these stacks and try to determine the "common ancestor" part. This helps in better understanding if a thread is blocked and where it loops.