src/hotspot/share/utilities/vmError.cpp
changeset 50196 85e3ac4fa57b
parent 50113 caf115bb98ad
child 50718 5698cf4e50f1
child 56625 380796df44a9
--- a/src/hotspot/share/utilities/vmError.cpp	Mon May 21 17:38:46 2018 +0200
+++ b/src/hotspot/share/utilities/vmError.cpp	Mon May 21 11:09:58 2018 -0500
@@ -42,6 +42,7 @@
 #include "runtime/vmThread.hpp"
 #include "runtime/vm_operations.hpp"
 #include "runtime/vm_version.hpp"
+#include "runtime/flags/jvmFlag.hpp"
 #include "services/memTracker.hpp"
 #include "utilities/debug.hpp"
 #include "utilities/decoder.hpp"
@@ -911,6 +912,17 @@
        st->cr();
      }
 
+  STEP("printing flags")
+
+    if (_verbose) {
+      JVMFlag::printFlags(
+        st,
+        true, // with comments
+        false, // no ranges
+        true); // skip defaults
+      st->cr();
+    }
+
   STEP("printing warning if internal testing API used")
 
      if (WhiteBox::used()) {