2624 #if SCAN_ONLY_VERBOSE |
2624 #if SCAN_ONLY_VERBOSE |
2625 _young_list->print(); |
2625 _young_list->print(); |
2626 #endif // SCAN_ONLY_VERBOSE |
2626 #endif // SCAN_ONLY_VERBOSE |
2627 |
2627 |
2628 double end_time_sec = os::elapsedTime(); |
2628 double end_time_sec = os::elapsedTime(); |
2629 if (!evacuation_failed()) { |
2629 double pause_time_ms = (end_time_sec - start_time_sec) * MILLIUNITS; |
2630 g1_policy()->record_pause_time((end_time_sec - start_time_sec)*1000.0); |
2630 g1_policy()->record_pause_time_ms(pause_time_ms); |
2631 } |
|
2632 GCOverheadReporter::recordSTWEnd(end_time_sec); |
2631 GCOverheadReporter::recordSTWEnd(end_time_sec); |
2633 g1_policy()->record_collection_pause_end(popular_region != NULL, |
2632 g1_policy()->record_collection_pause_end(popular_region != NULL, |
2634 abandoned); |
2633 abandoned); |
2635 |
2634 |
2636 assert(regions_accounted_for(), "Region leakage."); |
2635 assert(regions_accounted_for(), "Region leakage."); |