6361589: Print out stack trace for target thread of GC crash

If GC crashed with java thread involved, print out the java stack trace in error report

Reviewed-by: never, ysr, coleenp, dholmes
This commit is contained in:
Yumin Qi 2009-12-11 11:09:49 -08:00
parent baf249687c
commit 4f656a451e
8 changed files with 74 additions and 9 deletions

View file

@ -2554,6 +2554,9 @@ class CommandLineFlags {
"Include miscellaneous runtime verifications in nmethod code; " \
"default off because it disturbs nmethod size heuristics") \
\
notproduct(bool, CrashGCForDumpingJavaThread, false, \
"Manually make GC thread crash then dump java stack trace; " \
"Test only") \
\
/* compilation */ \
product(bool, UseCompiler, true, \