--- a/src/hotspot/share/utilities/vmError.cpp Thu Feb 28 13:37:03 2019 +0800
+++ b/src/hotspot/share/utilities/vmError.cpp Fri Sep 07 07:52:35 2018 +0200
@@ -43,6 +43,8 @@
#include "runtime/vmOperations.hpp"
#include "runtime/vm_version.hpp"
#include "runtime/flags/jvmFlag.hpp"
+// SapMachine 2019-02-20 : stathist
+#include "services/stathist.hpp"
#include "services/memTracker.hpp"
#include "utilities/debug.hpp"
#include "utilities/decoder.hpp"
@@ -984,6 +986,16 @@
MemTracker::error_report(st);
}
+ // SapMachine 2019-02-20 : stathist
+ STEP("Statistics History")
+ if (_verbose) {
+ static const StatisticsHistory::print_info_t settings = {
+ false, false, false, // omit_legend
+ true // avoid_sampling to be safe
+ };
+ StatisticsHistory::print_report(st, &settings);
+ }
+
STEP("printing system")
if (_verbose) {
@@ -1155,6 +1167,10 @@
MemTracker::error_report(st);
+ // SapMachine 2019-02-20 : stathist
+ // STEP("Statistics History")
+ StatisticsHistory::print_report(st, NULL);
+
// STEP("printing system")
st->cr();