1.1 --- a/src/share/vm/gc_implementation/shared/gcTrace.hpp Fri Mar 21 10:28:07 2014 +0100 1.2 +++ b/src/share/vm/gc_implementation/shared/gcTrace.hpp Fri Mar 21 10:31:51 2014 +0100 1.3 @@ -30,6 +30,7 @@ 1.4 #include "gc_implementation/shared/gcWhen.hpp" 1.5 #include "gc_implementation/shared/copyFailedInfo.hpp" 1.6 #include "memory/allocation.hpp" 1.7 +#include "memory/metaspace.hpp" 1.8 #include "memory/referenceType.hpp" 1.9 #if INCLUDE_ALL_GCS 1.10 #include "gc_implementation/g1/g1YCTypes.hpp" 1.11 @@ -41,6 +42,7 @@ 1.12 1.13 class EvacuationInfo; 1.14 class GCHeapSummary; 1.15 +class MetaspaceChunkFreeListSummary; 1.16 class MetaspaceSummary; 1.17 class PSHeapSummary; 1.18 class ReferenceProcessorStats; 1.19 @@ -124,7 +126,8 @@ 1.20 public: 1.21 void report_gc_start(GCCause::Cause cause, const Ticks& timestamp); 1.22 void report_gc_end(const Ticks& timestamp, TimePartitions* time_partitions); 1.23 - void report_gc_heap_summary(GCWhen::Type when, const GCHeapSummary& heap_summary, const MetaspaceSummary& meta_space_summary) const; 1.24 + void report_gc_heap_summary(GCWhen::Type when, const GCHeapSummary& heap_summary) const; 1.25 + void report_metaspace_summary(GCWhen::Type when, const MetaspaceSummary& metaspace_summary) const; 1.26 void report_gc_reference_stats(const ReferenceProcessorStats& rp) const; 1.27 void report_object_count_after_gc(BoolObjectClosure* object_filter) NOT_SERVICES_RETURN; 1.28 bool has_reported_gc_start() const; 1.29 @@ -138,6 +141,7 @@ 1.30 void send_garbage_collection_event() const; 1.31 void send_gc_heap_summary_event(GCWhen::Type when, const GCHeapSummary& heap_summary) const; 1.32 void send_meta_space_summary_event(GCWhen::Type when, const MetaspaceSummary& meta_space_summary) const; 1.33 + void send_metaspace_chunk_free_list_summary(GCWhen::Type when, Metaspace::MetadataType mdtype, const MetaspaceChunkFreeListSummary& summary) const; 1.34 void send_reference_stats_event(ReferenceType type, size_t count) const; 1.35 void send_phase_events(TimePartitions* time_partitions) const; 1.36 };