249 gclog_or_tty->print_cr("[GC concurrent-cleanup-start]"); |
249 gclog_or_tty->print_cr("[GC concurrent-cleanup-start]"); |
250 } |
250 } |
251 |
251 |
252 // Now do the remainder of the cleanup operation. |
252 // Now do the remainder of the cleanup operation. |
253 _cm->completeCleanup(); |
253 _cm->completeCleanup(); |
|
254 _sts.join(); |
254 g1_policy->record_concurrent_mark_cleanup_completed(); |
255 g1_policy->record_concurrent_mark_cleanup_completed(); |
|
256 _sts.leave(); |
255 |
257 |
256 double cleanup_end_sec = os::elapsedTime(); |
258 double cleanup_end_sec = os::elapsedTime(); |
257 if (PrintGC) { |
259 if (PrintGC) { |
258 gclog_or_tty->date_stamp(PrintGCDateStamps); |
260 gclog_or_tty->date_stamp(PrintGCDateStamps); |
259 gclog_or_tty->stamp(PrintGCTimeStamps); |
261 gclog_or_tty->stamp(PrintGCTimeStamps); |