8205344: TraceMemoryManagerStats changes in JDK-8195115 broke ZGC
Reviewed-by: shade, eosterlund
--- a/src/hotspot/share/gc/z/zServiceability.cpp Tue Jun 19 19:16:08 2018 +0200
+++ b/src/hotspot/share/gc/z/zServiceability.cpp Tue Jun 19 19:19:43 2018 +0200
@@ -138,6 +138,7 @@
ZServiceabilityManagerStatsTracer::ZServiceabilityManagerStatsTracer(bool is_gc_begin, bool is_gc_end) :
_stats(ZHeap::heap()->serviceability_memory_manager(),
ZCollectedHeap::heap()->gc_cause() /* cause */,
+ true /* allMemoryPoolsAffected */,
is_gc_begin /* recordGCBeginTime */,
is_gc_begin /* recordPreGCUsage */,
true /* recordPeakUsage */,