Date: Thu, 8 Jun 2023 20:46:33 +0800
Subject: [PATCH 29/59] 8211845: A new switch to control verbosity of hs-err files

Bug url: https://bugs.openjdk.org/browse/JDK-8211845
---
 hotspot/src/share/vm/runtime/globals.hpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/hotspot/src/share/vm/runtime/globals.hpp b/hotspot/src/share/vm/runtime/globals.hpp
index ac9165031..013379f5a 100644
--- a/hotspot/src/share/vm/runtime/globals.hpp
+++ b/hotspot/src/share/vm/runtime/globals.hpp
@@ -2745,6 +2745,10 @@ class CommandLineFlags {
           "If an error occurs, save the error data to this file "           \
           "[default: ./hs_err_pid%p.log] (%p replaced with pid)")           \
                                                                             \
+  product(bool, ExtensiveErrorReports,                                      \
+          PRODUCT_ONLY(false) NOT_PRODUCT(true),                            \
+          "Error reports are more extensive.")                              \
+                                                                            \
   product(bool, DisplayVMOutputToStderr, false,                             \
           "If DisplayVMOutput is true, display all VM output to stderr")    \
                                                                             \
-- 
2.22.0

