index

src/share/vm/gc_implementation/shared/gcTrace.cpp

Print this page
rev 7517 : const * instead of &


 145   assert_set_gc_id();
 146 
 147   send_meta_space_summary_event(when, summary);
 148 
 149   send_metaspace_chunk_free_list_summary(when, Metaspace::NonClassType, summary.metaspace_chunk_free_list_summary());
 150   if (UseCompressedClassPointers) {
 151     send_metaspace_chunk_free_list_summary(when, Metaspace::ClassType, summary.class_chunk_free_list_summary());
 152   }
 153 }
 154 
 155 void YoungGCTracer::report_gc_end_impl(const Ticks& timestamp, TimePartitions* time_partitions) {
 156   assert_set_gc_id();
 157   assert(_tenuring_threshold != UNSET_TENURING_THRESHOLD, "Tenuring threshold has not been reported");
 158 
 159   GCTracer::report_gc_end_impl(timestamp, time_partitions);
 160   send_young_gc_event();
 161 
 162   _tenuring_threshold = UNSET_TENURING_THRESHOLD;
 163 }
 164 
 165 void YoungGCTracer::report_promotion_failed(const PromotionFailedInfo& pf_info) {
 166   assert_set_gc_id();
 167 
 168   send_promotion_failed_event(pf_info);
 169 }
 170 
 171 void YoungGCTracer::report_tenuring_threshold(const uint tenuring_threshold) {
 172   _tenuring_threshold = tenuring_threshold;
 173 }
 174 
 175 bool YoungGCTracer::should_report_promotion_in_new_plab_event() const {
 176   return should_send_promotion_in_new_plab_event();
 177 }
 178 
 179 bool YoungGCTracer::should_report_promotion_outside_plab_event() const {
 180   return should_send_promotion_outside_plab_event();
 181 }
 182 
 183 void YoungGCTracer::report_promotion_in_new_plab_event(Klass* klass, size_t obj_size,
 184                                                        uint age, bool tenured,
 185                                                        size_t plab_size) const {




 145   assert_set_gc_id();
 146 
 147   send_meta_space_summary_event(when, summary);
 148 
 149   send_metaspace_chunk_free_list_summary(when, Metaspace::NonClassType, summary.metaspace_chunk_free_list_summary());
 150   if (UseCompressedClassPointers) {
 151     send_metaspace_chunk_free_list_summary(when, Metaspace::ClassType, summary.class_chunk_free_list_summary());
 152   }
 153 }
 154 
 155 void YoungGCTracer::report_gc_end_impl(const Ticks& timestamp, TimePartitions* time_partitions) {
 156   assert_set_gc_id();
 157   assert(_tenuring_threshold != UNSET_TENURING_THRESHOLD, "Tenuring threshold has not been reported");
 158 
 159   GCTracer::report_gc_end_impl(timestamp, time_partitions);
 160   send_young_gc_event();
 161 
 162   _tenuring_threshold = UNSET_TENURING_THRESHOLD;
 163 }
 164 
 165 void YoungGCTracer::report_promotion_failed(const PromotionFailedInfo& pf_info) const {
 166   assert_set_gc_id();
 167 
 168   send_promotion_failed_event(pf_info);
 169 }
 170 
 171 void YoungGCTracer::report_tenuring_threshold(const uint tenuring_threshold) {
 172   _tenuring_threshold = tenuring_threshold;
 173 }
 174 
 175 bool YoungGCTracer::should_report_promotion_in_new_plab_event() const {
 176   return should_send_promotion_in_new_plab_event();
 177 }
 178 
 179 bool YoungGCTracer::should_report_promotion_outside_plab_event() const {
 180   return should_send_promotion_outside_plab_event();
 181 }
 182 
 183 void YoungGCTracer::report_promotion_in_new_plab_event(Klass* klass, size_t obj_size,
 184                                                        uint age, bool tenured,
 185                                                        size_t plab_size) const {


index