Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/g1/g1RemSet.hpp @ 4097:dc467e8b2c5e
7112743: G1: Reduce overhead of marking closure during evacuation pauses
Summary: 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
author | johnc |
---|---|
date | Thu, 17 Nov 2011 12:40:15 -0800 |
parents | e8b0b0392037 |
children | 441e946dc1af |
comparison
equal
deleted
inserted
replaced
4096:00dd86e542eb | 4097:dc467e8b2c5e |
---|---|
101 void prepare_for_oops_into_collection_set_do(); | 101 void prepare_for_oops_into_collection_set_do(); |
102 void cleanup_after_oops_into_collection_set_do(); | 102 void cleanup_after_oops_into_collection_set_do(); |
103 | 103 |
104 void scanRS(OopsInHeapRegionClosure* oc, int worker_i); | 104 void scanRS(OopsInHeapRegionClosure* oc, int worker_i); |
105 void updateRS(DirtyCardQueue* into_cset_dcq, int worker_i); | 105 void updateRS(DirtyCardQueue* into_cset_dcq, int worker_i); |
106 | |
107 HeapRegion* calculateStartRegion(int i); | |
108 | 106 |
109 CardTableModRefBS* ct_bs() { return _ct_bs; } | 107 CardTableModRefBS* ct_bs() { return _ct_bs; } |
110 size_t cardsScanned() { return _total_cards_scanned; } | 108 size_t cardsScanned() { return _total_cards_scanned; } |
111 | 109 |
112 // Record, if necessary, the fact that *p (where "p" is in region "from", | 110 // Record, if necessary, the fact that *p (where "p" is in region "from", |