7097567: G1: abstract and encapsulate collector phases and transitions between them

Reviewed-by: mgerdin, tschatzl
This commit is contained in:
Derek White 2015-06-05 10:27:41 +02:00
parent 5f5af54f95
commit 24c9ffed42
14 changed files with 252 additions and 203 deletions

View file

@ -194,7 +194,7 @@ void ConcurrentMarkThread::run() {
// We don't want to update the marking status if a GC pause
// is already underway.
SuspendibleThreadSetJoiner sts_join;
g1h->set_marking_complete();
g1h->collector_state()->set_mark_in_progress(false);
}
// Check if cleanup set the free_regions_coming flag. If it