7112743: G1: Reduce overhead of marking closure during evacuation pauses

Parallelize the serial code that was used to mark objects reachable from survivor objects in the collection set. Some minor improvments in the timers used to track the freeing of the collection set along with some tweaks to PrintGCDetails.

Reviewed-by: tonyp, brutisso
This commit is contained in:
John Cuthbertson 2011-11-17 12:40:15 -08:00
parent 861168c82e
commit a3311881b5
10 changed files with 213 additions and 110 deletions

View file

@ -34,7 +34,7 @@ class objArrayOopDesc : public arrayOopDesc {
friend class objArrayKlass;
friend class Runtime1;
friend class psPromotionManager;
friend class CSMarkOopClosure;
friend class CSetMarkOopClosure;
friend class G1ParScanPartialArrayClosure;
template <class T> T* obj_at_addr(int index) const {