src/share/vm/gc_implementation/g1/g1CardCounts.cpp

changeset 5811
d55c004e1d4d
parent 5709
9cb63cd234a0
child 6680
78bbf4d43a14
     1.1 --- a/src/share/vm/gc_implementation/g1/g1CardCounts.cpp	Fri Sep 27 13:41:07 2013 +0200
     1.2 +++ b/src/share/vm/gc_implementation/g1/g1CardCounts.cpp	Tue Sep 24 14:46:29 2013 +0200
     1.3 @@ -65,9 +65,7 @@
     1.4      // threshold limit is no more than this.
     1.5      guarantee(G1ConcRSHotCardLimit <= max_jubyte, "sanity");
     1.6  
     1.7 -    ModRefBarrierSet* bs = _g1h->mr_bs();
     1.8 -    guarantee(bs->is_a(BarrierSet::CardTableModRef), "Precondition");
     1.9 -    _ct_bs = (CardTableModRefBS*)bs;
    1.10 +    _ct_bs = _g1h->g1_barrier_set();
    1.11      _ct_bot = _ct_bs->byte_for_const(_g1h->reserved_region().start());
    1.12  
    1.13      // Allocate/Reserve the counts table

mercurial