src/hotspot/share/utilities/vmError.cpp
branchepsilon-gc-branch
changeset 56625 380796df44a9
parent 56578 e8414c8ead61
parent 50196 85e3ac4fa57b
--- a/src/hotspot/share/utilities/vmError.cpp	Wed May 23 16:40:10 2018 +0200
+++ b/src/hotspot/share/utilities/vmError.cpp	Wed May 30 09:49:56 2018 +0200
@@ -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()) {