hotspot/src/share/vm/gc/shared/gcTrace.cpp
changeset 32611 2d2320f70842
parent 32607 c69a7b61ab02
parent 32608 ef2ec6fac731
child 32817 acc2744fd84b
equal deleted inserted replaced
32607:c69a7b61ab02 32611:2d2320f70842
   173 
   173 
   174 void YoungGCTracer::report_tenuring_threshold(const uint tenuring_threshold) {
   174 void YoungGCTracer::report_tenuring_threshold(const uint tenuring_threshold) {
   175   _tenuring_threshold = tenuring_threshold;
   175   _tenuring_threshold = tenuring_threshold;
   176 }
   176 }
   177 
   177 
       
   178 bool YoungGCTracer::should_report_promotion_events() const {
       
   179   return should_report_promotion_in_new_plab_event() ||
       
   180           should_report_promotion_outside_plab_event();
       
   181 }
       
   182 
   178 bool YoungGCTracer::should_report_promotion_in_new_plab_event() const {
   183 bool YoungGCTracer::should_report_promotion_in_new_plab_event() const {
   179   return should_send_promotion_in_new_plab_event();
   184   return should_send_promotion_in_new_plab_event();
   180 }
   185 }
   181 
   186 
   182 bool YoungGCTracer::should_report_promotion_outside_plab_event() const {
   187 bool YoungGCTracer::should_report_promotion_outside_plab_event() const {