235 // hasn't, we can just skip the next step. |
235 // hasn't, we can just skip the next step. |
236 if (g1h->free_regions_coming()) { |
236 if (g1h->free_regions_coming()) { |
237 // The following will finish freeing up any regions that we |
237 // The following will finish freeing up any regions that we |
238 // found to be empty during cleanup. We'll do this part |
238 // found to be empty during cleanup. We'll do this part |
239 // without joining the suspendible set. If an evacuation pause |
239 // without joining the suspendible set. If an evacuation pause |
240 // takes places, then we would carry on freeing regions in |
240 // takes place, then we would carry on freeing regions in |
241 // case they are needed by the pause. If a Full GC takes |
241 // case they are needed by the pause. If a Full GC takes |
242 // places, it would wait for us to process the regions |
242 // place, it would wait for us to process the regions |
243 // reclaimed by cleanup. |
243 // reclaimed by cleanup. |
244 |
244 |
245 double cleanup_start_sec = os::elapsedTime(); |
245 double cleanup_start_sec = os::elapsedTime(); |
246 if (PrintGC) { |
246 if (PrintGC) { |
247 gclog_or_tty->date_stamp(PrintGCDateStamps); |
247 gclog_or_tty->date_stamp(PrintGCDateStamps); |