equal
deleted
inserted
replaced
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/heapInspection.hpp" |
34 #include "memory/heapInspection.hpp" |
34 #include "memory/resourceArea.hpp" |
35 #include "memory/resourceArea.hpp" |
35 #include "runtime/os.hpp" |
36 #include "runtime/os.hpp" |
36 #include "utilities/globalDefinitions.hpp" |
37 #include "utilities/globalDefinitions.hpp" |
37 #include "utilities/macros.hpp" |
38 #include "utilities/macros.hpp" |
114 } |
115 } |
115 |
116 |
116 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 { |
117 send_meta_space_summary_event(when, summary); |
118 send_meta_space_summary_event(when, summary); |
118 |
119 |
119 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()); |
120 if (UseCompressedClassPointers) { |
121 if (UseCompressedClassPointers) { |
121 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()); |
122 } |
123 } |
123 } |
124 } |
124 |
125 |
125 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) { |
126 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"); |