src/hotspot/share/gc/shared/gcTrace.cpp
branchstuefe-new-metaspace-branch
changeset 59272 54750b448264
parent 58063 bdf136b8ae0e
equal deleted inserted replaced
59271:1558266946de 59272:54750b448264
    28 #include "gc/shared/gcId.hpp"
    28 #include "gc/shared/gcId.hpp"
    29 #include "gc/shared/gcTimer.hpp"
    29 #include "gc/shared/gcTimer.hpp"
    30 #include "gc/shared/gcTrace.hpp"
    30 #include "gc/shared/gcTrace.hpp"
    31 #include "gc/shared/objectCountEventSender.hpp"
    31 #include "gc/shared/objectCountEventSender.hpp"
    32 #include "gc/shared/referenceProcessorStats.hpp"
    32 #include "gc/shared/referenceProcessorStats.hpp"
    33 #include "memory/metaspace/metaspaceEnums.hpp"
    33 #include "memory/metaspace.hpp"
    34 #include "memory/heapInspection.hpp"
    34 #include "memory/heapInspection.hpp"
    35 #include "memory/resourceArea.hpp"
    35 #include "memory/resourceArea.hpp"
    36 #include "runtime/os.hpp"
    36 #include "runtime/os.hpp"
    37 #include "utilities/globalDefinitions.hpp"
    37 #include "utilities/globalDefinitions.hpp"
    38 #include "utilities/macros.hpp"
    38 #include "utilities/macros.hpp"
   115 }
   115 }
   116 
   116 
   117 void GCTracer::report_metaspace_summary(GCWhen::Type when, const MetaspaceSummary& summary) const {
   117 void GCTracer::report_metaspace_summary(GCWhen::Type when, const MetaspaceSummary& summary) const {
   118   send_meta_space_summary_event(when, summary);
   118   send_meta_space_summary_event(when, summary);
   119 
   119 
   120   send_metaspace_chunk_free_list_summary(when, metaspace::NonClassType, summary.metaspace_chunk_free_list_summary());
   120   send_metaspace_chunk_free_list_summary(when, Metaspace::NonClassType, summary.metaspace_chunk_free_list_summary());
   121   if (UseCompressedClassPointers) {
   121   if (UseCompressedClassPointers) {
   122     send_metaspace_chunk_free_list_summary(when, metaspace::ClassType, summary.class_chunk_free_list_summary());
   122     send_metaspace_chunk_free_list_summary(when, Metaspace::ClassType, summary.class_chunk_free_list_summary());
   123   }
   123   }
   124 }
   124 }
   125 
   125 
   126 void YoungGCTracer::report_gc_end_impl(const Ticks& timestamp, TimePartitions* time_partitions) {
   126 void YoungGCTracer::report_gc_end_impl(const Ticks& timestamp, TimePartitions* time_partitions) {
   127   assert(_tenuring_threshold != UNSET_TENURING_THRESHOLD, "Tenuring threshold has not been reported");
   127   assert(_tenuring_threshold != UNSET_TENURING_THRESHOLD, "Tenuring threshold has not been reported");