equal
deleted
inserted
replaced
85 // regions that are also committed by other regions. Also protects |
85 // regions that are also committed by other regions. Also protects |
86 // against uncommitting the guard region. |
86 // against uncommitting the guard region. |
87 MemRegion committed_unique_to_self(int self, MemRegion mr) const; |
87 MemRegion committed_unique_to_self(int self, MemRegion mr) const; |
88 |
88 |
89 // Some barrier sets create tables whose elements correspond to parts of |
89 // Some barrier sets create tables whose elements correspond to parts of |
90 // the heap; the CardTableModRefBS is an example. Such barrier sets will |
90 // the heap; the CardTableBarrierSet is an example. Such barrier sets will |
91 // normally reserve space for such tables, and commit parts of the table |
91 // normally reserve space for such tables, and commit parts of the table |
92 // "covering" parts of the heap that are committed. At most one covered |
92 // "covering" parts of the heap that are committed. At most one covered |
93 // region per generation is needed. |
93 // region per generation is needed. |
94 static const int _max_covered_regions = 2; |
94 static const int _max_covered_regions = 2; |
95 |
95 |
112 public: |
112 public: |
113 CardTable(MemRegion whole_heap, bool conc_scan); |
113 CardTable(MemRegion whole_heap, bool conc_scan); |
114 virtual ~CardTable(); |
114 virtual ~CardTable(); |
115 virtual void initialize(); |
115 virtual void initialize(); |
116 |
116 |
117 // The kinds of precision a CardTableModRefBS may offer. |
117 // The kinds of precision a CardTable may offer. |
118 enum PrecisionStyle { |
118 enum PrecisionStyle { |
119 Precise, |
119 Precise, |
120 ObjHeadPreciseArray |
120 ObjHeadPreciseArray |
121 }; |
121 }; |
122 |
122 |