< prev index next >

src/hotspot/share/gc/g1/g1CollectedHeap.cpp

Print this page

        

*** 1540,1550 **** G1CardTable* ct = new G1CardTable(reserved_region()); ct->initialize(); G1BarrierSet* bs = new G1BarrierSet(ct); bs->initialize(); assert(bs->is_a(BarrierSet::G1BarrierSet), "sanity"); ! set_barrier_set(bs); _card_table = ct; // Create the hot card cache. _hot_card_cache = new G1HotCardCache(this); --- 1540,1550 ---- G1CardTable* ct = new G1CardTable(reserved_region()); ct->initialize(); G1BarrierSet* bs = new G1BarrierSet(ct); bs->initialize(); assert(bs->is_a(BarrierSet::G1BarrierSet), "sanity"); ! BarrierSet::set_barrier_set(bs); _card_table = ct; // Create the hot card cache. _hot_card_cache = new G1HotCardCache(this);
< prev index next >