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

changeset 1030
3698e8f47799
parent 981
05c6d52fa7a9
child 1042
d8c7fa77a6dc
child 1051
4f360ec815ba
     1.1 --- a/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp	Fri Feb 20 11:12:26 2009 -0800
     1.2 +++ b/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp	Tue Feb 24 15:50:23 2009 -0500
     1.3 @@ -2626,9 +2626,8 @@
     1.4  #endif // SCAN_ONLY_VERBOSE
     1.5  
     1.6      double end_time_sec = os::elapsedTime();
     1.7 -    if (!evacuation_failed()) {
     1.8 -      g1_policy()->record_pause_time((end_time_sec - start_time_sec)*1000.0);
     1.9 -    }
    1.10 +    double pause_time_ms = (end_time_sec - start_time_sec) * MILLIUNITS;
    1.11 +    g1_policy()->record_pause_time_ms(pause_time_ms);
    1.12      GCOverheadReporter::recordSTWEnd(end_time_sec);
    1.13      g1_policy()->record_collection_pause_end(popular_region != NULL,
    1.14                                               abandoned);

mercurial