< prev index next >
src/hotspot/share/utilities/vmError.cpp
Print this page
rev 55587 : [mq]: nestegg
rev 55588 : imported patch 8227031-optionally-print-nmt-report-on-oom
@@ -1525,10 +1525,16 @@
}
log.set_fd(-1);
}
+ // Print out NMT statistics if this was desired.
+ if (PrintNMTStatistics) {
+ fdStream fds(fd_out);
+ MemTracker::final_report(&fds);
+ }
+
static bool skip_replay = ReplayCompiles; // Do not overwrite file during replay
if (DumpReplayDataOnError && _thread && _thread->is_Compiler_thread() && !skip_replay) {
skip_replay = true;
ciEnv* env = ciEnv::current();
if (env != NULL) {
< prev index next >