--- a/src/hotspot/share/gc/parallel/parallelScavengeHeap.cpp Wed Aug 28 09:50:23 2019 +0200
+++ b/src/hotspot/share/gc/parallel/parallelScavengeHeap.cpp Wed Aug 28 11:19:09 2019 +0200
@@ -41,6 +41,7 @@
#include "gc/shared/gcLocker.hpp"
#include "gc/shared/gcWhen.hpp"
#include "gc/shared/genArguments.hpp"
+#include "gc/shared/locationPrinter.inline.hpp"
#include "gc/shared/scavengableNMethods.hpp"
#include "logging/log.hpp"
#include "memory/metaspaceCounters.hpp"
@@ -584,6 +585,10 @@
return PSHeapSummary(heap_summary, used(), old_summary, old_space, young_summary, eden_space, from_space, to_space);
}
+bool ParallelScavengeHeap::print_location(outputStream* st, void* addr) const {
+ return BlockLocationPrinter<ParallelScavengeHeap>::print_location(st, addr);
+}
+
void ParallelScavengeHeap::print_on(outputStream* st) const {
young_gen()->print_on(st);
old_gen()->print_on(st);