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

changeset 4326
0f80645e9c26
parent 4174
04155d9c8c76
child 4333
442f942757c0
     1.1 --- a/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp	Fri Nov 30 17:00:32 2012 -0800
     1.2 +++ b/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp	Fri Nov 30 11:46:17 2012 -0800
     1.3 @@ -3690,6 +3690,7 @@
     1.4      g1_policy()->print_heap_transition();
     1.5      gclog_or_tty->print_cr(", %3.7f secs]", pause_time_sec);
     1.6    }
     1.7 +  gclog_or_tty->flush();
     1.8  }
     1.9  
    1.10  bool
    1.11 @@ -4036,10 +4037,11 @@
    1.12  #endif
    1.13  
    1.14        gc_epilogue(false);
    1.15 -
    1.16 -      log_gc_footer(os::elapsedTime() - pause_start_sec);
    1.17      }
    1.18  
    1.19 +    // Print the remainder of the GC log output.
    1.20 +    log_gc_footer(os::elapsedTime() - pause_start_sec);
    1.21 +
    1.22      // It is not yet to safe to tell the concurrent mark to
    1.23      // start as we have some optional output below. We don't want the
    1.24      // output from the concurrent mark thread interfering with this

mercurial