Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/shared/gcTrace.cpp @ 17771:9fdaa79b0c27
8036703: Add trace event with statistics for the metaspace chunk free lists
Reviewed-by: stefank, mgerdin, coleenp, egahlin
author | ehelin |
---|---|
date | Fri, 21 Mar 2014 10:31:51 +0100 |
parents | 86e6d691f2e1 |
children | 0982ec23da03 |
comparison
equal
deleted
inserted
replaced
17770:5af31f70a866 | 17771:9fdaa79b0c27 |
---|---|
137 } | 137 } |
138 } | 138 } |
139 } | 139 } |
140 #endif // INCLUDE_SERVICES | 140 #endif // INCLUDE_SERVICES |
141 | 141 |
142 void GCTracer::report_gc_heap_summary(GCWhen::Type when, const GCHeapSummary& heap_summary, const MetaspaceSummary& meta_space_summary) const { | 142 void GCTracer::report_gc_heap_summary(GCWhen::Type when, const GCHeapSummary& heap_summary) const { |
143 assert_set_gc_id(); | 143 assert_set_gc_id(); |
144 | 144 |
145 send_gc_heap_summary_event(when, heap_summary); | 145 send_gc_heap_summary_event(when, heap_summary); |
146 send_meta_space_summary_event(when, meta_space_summary); | 146 } |
147 | |
148 void GCTracer::report_metaspace_summary(GCWhen::Type when, const MetaspaceSummary& summary) const { | |
149 assert_set_gc_id(); | |
150 | |
151 send_meta_space_summary_event(when, summary); | |
152 | |
153 send_metaspace_chunk_free_list_summary(when, Metaspace::NonClassType, summary.metaspace_chunk_free_list_summary()); | |
154 if (UseCompressedClassPointers) { | |
155 send_metaspace_chunk_free_list_summary(when, Metaspace::ClassType, summary.class_chunk_free_list_summary()); | |
156 } | |
147 } | 157 } |
148 | 158 |
149 void YoungGCTracer::report_gc_end_impl(const Ticks& timestamp, TimePartitions* time_partitions) { | 159 void YoungGCTracer::report_gc_end_impl(const Ticks& timestamp, TimePartitions* time_partitions) { |
150 assert_set_gc_id(); | 160 assert_set_gc_id(); |
151 assert(_tenuring_threshold != UNSET_TENURING_THRESHOLD, "Tenuring threshold has not been reported"); | 161 assert(_tenuring_threshold != UNSET_TENURING_THRESHOLD, "Tenuring threshold has not been reported"); |