< prev index next >

src/hotspot/share/gc/shared/c1/cardTableBarrierSetC1.cpp

Print this page
*** 45,10 ***
--- 45,12 ---
  
    BarrierSet* bs = BarrierSet::barrier_set();
    CardTableBarrierSet* ctbs = barrier_set_cast<CardTableBarrierSet>(bs);
    CardTable* ct = ctbs->card_table();
    LIR_Const* card_table_base = new LIR_Const(ct->byte_map_base());
+   SHENANDOAHGC_ONLY(assert(!UseShenandoahGC, "Shenandoah byte_map_base is not constant.");)
+ 
    if (addr->is_address()) {
      LIR_Address* address = addr->as_address_ptr();
      // ptr cannot be an object because we use this barrier for array card marks
      // and addr can point in the middle of an array.
      LIR_Opr ptr = gen->new_pointer_register();
< prev index next >