stack strace when test timeout

Staffan Larsen staffan.larsen at
Fri Jun 19 20:19:19 UTC 2015

This is a standard feature of jtreg since a few releases back. You can even write your own “timeout handlers” to define what should happen on a timeout. See the -timeoutHandler option as well as the TimeoutHandler class in jtreg.


> On 24 jan 2014, at 11:57, Tristan Yan <tristan.yan at> wrote:
> Hi Jon
> Recently I'm working on regression bugs. I found some regression bugs failed with timeout very randomly. It's very hard to reproduce the failure even we try more than thousand times retry. This make me wonder is there any way we can setup for jtreg we can get java stack strace when timeout occurs. This definitely will help to analysis the failure. Is there a config that already exists in jtreg? Can we expect it if it is not.
> Thank you
> Tristan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the jtreg-use mailing list