index

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

Print this page
rev 7517 : const * instead of &

@@ -160,11 +160,11 @@
   send_young_gc_event();
 
   _tenuring_threshold = UNSET_TENURING_THRESHOLD;
 }
 
-void YoungGCTracer::report_promotion_failed(const PromotionFailedInfo& pf_info) {
+void YoungGCTracer::report_promotion_failed(const PromotionFailedInfo& pf_info) const {
   assert_set_gc_id();
 
   send_promotion_failed_event(pf_info);
 }
 
index