src/hotspot/share/runtime/globals.hpp
branchstuefe-new-metaspace-branch
changeset 58838 55ce65813b62
parent 58646 bcdba1c9f1fe
parent 58804 0942a1f47d26
child 58839 d888a9d9f9a5
--- a/src/hotspot/share/runtime/globals.hpp	Sun Oct 27 10:14:40 2019 +0100
+++ b/src/hotspot/share/runtime/globals.hpp	Tue Oct 29 08:56:10 2019 +0100
@@ -563,9 +563,6 @@
   product(bool, PrintExtendedThreadInfo, false,                             \
           "Print more information in thread dump")                          \
                                                                             \
-  diagnostic(bool, TraceNMethodInstalls, false,                             \
-          "Trace nmethod installation")                                     \
-                                                                            \
   diagnostic(intx, ScavengeRootsInCode, 2,                                  \
           "0: do not allow scavengable oops in the code cache; "            \
           "1: allow scavenging from the code cache; "                       \
@@ -643,6 +640,10 @@
   product(bool, OmitStackTraceInFastThrow, true,                            \
           "Omit backtraces for some 'hot' exceptions in optimized code")    \
                                                                             \
+  manageable(bool, ShowCodeDetailsInExceptionMessages, false,               \
+          "Show exception messages from RuntimeExceptions that contain "    \
+          "snippets of the failing code. Disable this to improve privacy.") \
+                                                                            \
   product(bool, PrintWarnings, true,                                        \
           "Print JVM warnings to output stream")                            \
                                                                             \