mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
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:
parent
baf249687c
commit
4f656a451e
8 changed files with 74 additions and 9 deletions
|
@ -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, \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue