diff src/share/vm/runtime/globals.hpp @ 1119:547f81740344

6361589: Print out stack trace for target thread of GC crash Summary: If GC crashed with java thread involved, print out the java stack trace in error report Reviewed-by: never, ysr, coleenp, dholmes
author minqi
date Fri, 11 Dec 2009 11:09:49 -0800
parents 473cce303f13
children 504830073409 f62a22282a47
line wrap: on
line diff
--- a/src/share/vm/runtime/globals.hpp	Wed Dec 02 20:32:27 2009 -0500
+++ b/src/share/vm/runtime/globals.hpp	Fri Dec 11 11:09:49 2009 -0800
@@ -2554,6 +2554,9 @@
           "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,                                          \