8139434: Unify GenRemSet and CardTableRS

Reviewed-by: jwilhelm, mgerdin
This commit is contained in:
David Lindholm 2015-10-14 09:33:45 +02:00
parent ebe8b1d7f6
commit a7d89b56a8
25 changed files with 94 additions and 257 deletions

View file

@ -293,7 +293,7 @@ void Generation::oop_iterate(ExtendedOopClosure* cl) {
void Generation::younger_refs_in_space_iterate(Space* sp,
OopsInGenClosure* cl,
uint n_threads) {
GenRemSet* rs = GenCollectedHeap::heap()->rem_set();
CardTableRS* rs = GenCollectedHeap::heap()->rem_set();
rs->younger_refs_in_space_iterate(sp, cl, n_threads);
}