# HG changeset patch # User Doug Simon # Date 1407155189 -7200 # Node ID 58622d6b109711642782ccd4f8ab503659f67ad5 # Parent ffb014884c12e9d37a70f714442b6c3ddf810788 give all aborting threads a chance to print Graal related stack traces diff -r ffb014884c12 -r 58622d6b1097 src/share/vm/graal/graalRuntime.cpp --- a/src/share/vm/graal/graalRuntime.cpp Mon Aug 04 11:38:25 2014 +0200 +++ b/src/share/vm/graal/graalRuntime.cpp Mon Aug 04 14:26:29 2014 +0200 @@ -990,6 +990,12 @@ CLEAR_PENDING_EXCEPTION; tty->print_cr(message); call_printStackTrace(exception, THREAD); + + // Give other aborting threads to also print their stack traces. + // This can be very useful when debugging class initialization + // failures. + os::sleep(THREAD, 200, false); + vm_abort(dump_core); }