--- 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();
}