Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/concurrentG1Refine.hpp @ 795:215f81b4d9b3
6841831: G1: assert(contains_reference(from),"We just added it!") fires
Summary: During parallel rset updating we have to make sure that the worker ids of the refinement threads do not intersect with the worker ids that can be claimed by the mutator threads.
Reviewed-by: tonyp
author | iveresov |
---|---|
date | Mon, 18 May 2009 11:52:46 -0700 |
parents | 315a5d70b295 |
children | 15c5903cf9e1 |
comparison
equal
deleted
inserted
replaced
794:315a5d70b295 | 795:215f81b4d9b3 |
---|---|
27 class G1RemSet; | 27 class G1RemSet; |
28 | 28 |
29 class ConcurrentG1Refine: public CHeapObj { | 29 class ConcurrentG1Refine: public CHeapObj { |
30 ConcurrentG1RefineThread** _threads; | 30 ConcurrentG1RefineThread** _threads; |
31 int _n_threads; | 31 int _n_threads; |
32 | |
33 // The cache for card refinement. | 32 // The cache for card refinement. |
34 bool _use_cache; | 33 bool _use_cache; |
35 bool _def_use_cache; | 34 bool _def_use_cache; |
36 size_t _n_periods; | 35 size_t _n_periods; |
37 size_t _total_cards; | 36 size_t _total_cards; |
84 else _use_cache = false; | 83 else _use_cache = false; |
85 } | 84 } |
86 | 85 |
87 void clear_and_record_card_counts(); | 86 void clear_and_record_card_counts(); |
88 void print_final_card_counts(); | 87 void print_final_card_counts(); |
88 | |
89 static size_t thread_num(); | |
89 }; | 90 }; |