src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp

changeset 1030
3698e8f47799
parent 981
05c6d52fa7a9
child 1042
d8c7fa77a6dc
child 1051
4f360ec815ba
equal deleted inserted replaced
1017:a0576ae7045f 1030:3698e8f47799
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.");

mercurial