Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/concurrentMarkThread.cpp @ 2361:1216415d8e35
7014923: G1: code cleanup
Summary: Some G1 code cleanup.
Reviewed-by: johnc, jcoomes, jwilhelm
author | tonyp |
---|---|
date | Fri, 04 Mar 2011 17:13:19 -0500 |
parents | b7a938236e43 |
children | ff53346271fe |
comparison
equal
deleted
inserted
replaced
2312:11303bede852 | 2361:1216415d8e35 |
---|---|
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); |