8205344: TraceMemoryManagerStats changes in JDK-8195115 broke ZGC
authorpliden
Tue, 19 Jun 2018 19:19:43 +0200
changeset 50665 9eaaa711fef5
parent 50664 857ce291c70c
child 50666 3e66d204af9b
8205344: TraceMemoryManagerStats changes in JDK-8195115 broke ZGC Reviewed-by: shade, eosterlund
src/hotspot/share/gc/z/zServiceability.cpp
--- 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 */,