8031776: Remove the unnecessary enum GenRemSet::Name

Reviewed-by: stefank, tschatzl, jwilhelm
This commit is contained in:
Erik Helin 2014-01-20 17:15:55 +01:00
parent 70fd1802a0
commit ba54cfdf88
7 changed files with 6 additions and 22 deletions

View file

@ -61,7 +61,6 @@ bool DefNewGeneration::IsAliveClosure::do_object_b(oop p) {
DefNewGeneration::KeepAliveClosure::
KeepAliveClosure(ScanWeakRefClosure* cl) : _cl(cl) {
GenRemSet* rs = GenCollectedHeap::heap()->rem_set();
assert(rs->rs_kind() == GenRemSet::CardTable, "Wrong rem set kind.");
_rs = (CardTableRS*)rs;
}