--- old/src/share/vm/gc_implementation/shared/gcTrace.cpp 2014-12-10 15:32:32.780058762 +0100 +++ new/src/share/vm/gc_implementation/shared/gcTrace.cpp 2014-12-10 15:32:32.692061722 +0100 @@ -162,7 +162,7 @@ _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);