hotspot/src/share/vm/gc/shared/gcTrace.cpp
changeset 32611 2d2320f70842
parent 32607 c69a7b61ab02
parent 32608 ef2ec6fac731
child 32817 acc2744fd84b
--- 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();
 }