OSDN Git Service

ART: Dump all threads on test timeout
authorAndreas Gampe <agampe@google.com>
Wed, 14 Jan 2015 03:48:14 +0000 (19:48 -0800)
committerAndreas Gampe <agampe@google.com>
Wed, 14 Jan 2015 22:08:47 +0000 (14:08 -0800)
commit038bb2252ed1d7132f45006507e389b7ba1617ce
tree3f087fcb6c6a50c860882258c90193c44c2194ec
parent07ab4ec97221d882322a1ce064557202150f44ea
ART: Dump all threads on test timeout

Use SIGRTMIN+2 as a special signal to dump all threads similar to
SIGQUIT. Use nested timeouts to enforce a test timeout and dump
the threads in a deadlock.

Bug: 18933933
Change-Id: I4209047eeca07ff360d7c19922d5b5da64fd69a5
runtime/runtime_linux.cc
test/etc/run-test-jar