8026851: Remove unnecessary code in GenRemSet

Removed the GenRemSet::rem_set_name() since we only have one remset.

Reviewed-by: stefank, mgerdin, tschatzl
This commit is contained in:
Jesper Wilhelmsson 2013-10-21 18:51:37 +02:00
parent f12f991935
commit 1123a5596c
4 changed files with 1 additions and 6 deletions

View file

@ -105,7 +105,6 @@ bool CollectorPolicy::use_should_clear_all_soft_refs(bool v) {
GenRemSet* CollectorPolicy::create_rem_set(MemRegion whole_heap,
int max_covered_regions) {
assert(rem_set_name() == GenRemSet::CardTable, "unrecognized GenRemSet::Name");
return new CardTableRS(whole_heap, max_covered_regions);
}