--- 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()) {