diff -r c69a7b61ab02 -r 2d2320f70842 hotspot/src/share/vm/gc/shared/gcTrace.cpp --- a/hotspot/src/share/vm/gc/shared/gcTrace.cpp Wed Sep 02 11:56:10 2015 +0200 +++ b/hotspot/src/share/vm/gc/shared/gcTrace.cpp Wed Sep 02 16:16:58 2015 +0200 @@ -175,6 +175,11 @@ _tenuring_threshold = tenuring_threshold; } +bool YoungGCTracer::should_report_promotion_events() const { + return should_report_promotion_in_new_plab_event() || + should_report_promotion_outside_plab_event(); +} + bool YoungGCTracer::should_report_promotion_in_new_plab_event() const { return should_send_promotion_in_new_plab_event(); }