mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8064721: The card tables only ever need two covering regions
Reviewed-by: jmasa, tschatzl, kbarrett
This commit is contained in:
parent
2616e09389
commit
f3997d8eed
17 changed files with 35 additions and 75 deletions
|
@ -284,7 +284,7 @@ public:
|
|||
return bsn == BarrierSet::CardTableModRef || ModRefBarrierSet::is_a(bsn);
|
||||
}
|
||||
|
||||
CardTableModRefBS(MemRegion whole_heap, int max_covered_regions);
|
||||
CardTableModRefBS(MemRegion whole_heap);
|
||||
~CardTableModRefBS();
|
||||
|
||||
virtual void initialize();
|
||||
|
@ -482,9 +482,8 @@ protected:
|
|||
bool card_will_be_scanned(jbyte cv);
|
||||
bool card_may_have_been_dirty(jbyte cv);
|
||||
public:
|
||||
CardTableModRefBSForCTRS(MemRegion whole_heap,
|
||||
int max_covered_regions) :
|
||||
CardTableModRefBS(whole_heap, max_covered_regions) {}
|
||||
CardTableModRefBSForCTRS(MemRegion whole_heap) :
|
||||
CardTableModRefBS(whole_heap) {}
|
||||
|
||||
void set_CTRS(CardTableRS* rs) { _rs = rs; }
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue