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