mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
8139434: Unify GenRemSet and CardTableRS
Reviewed-by: jwilhelm, mgerdin
This commit is contained in:
parent
ebe8b1d7f6
commit
a7d89b56a8
25 changed files with 94 additions and 257 deletions
|
@ -64,8 +64,8 @@ private:
|
|||
Generation* _young_gen;
|
||||
Generation* _old_gen;
|
||||
|
||||
// The singleton Gen Remembered Set.
|
||||
GenRemSet* _rem_set;
|
||||
// The singleton CardTable Remembered Set.
|
||||
CardTableRS* _rem_set;
|
||||
|
||||
// The generational collector policy.
|
||||
GenCollectorPolicy* _gen_policy;
|
||||
|
@ -361,9 +361,9 @@ public:
|
|||
// collection.
|
||||
virtual bool is_maximal_no_gc() const;
|
||||
|
||||
// This function returns the "GenRemSet" object that allows us to scan
|
||||
// This function returns the CardTableRS object that allows us to scan
|
||||
// generations in a fully generational heap.
|
||||
GenRemSet* rem_set() { return _rem_set; }
|
||||
CardTableRS* rem_set() { return _rem_set; }
|
||||
|
||||
// Convenience function to be used in situations where the heap type can be
|
||||
// asserted to be this type.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue