< prev index next >

src/hotspot/share/compiler/disassembler.cpp

Print this page
@@ -605,13 +605,11 @@
        }
        st->print("Stub::<unknown> " PTR_FORMAT, p2i(adr));
        return;
      }
  
-     BarrierSet* bs = BarrierSet::barrier_set();
-     if (bs->is_a(BarrierSet::CardTableBarrierSet) &&
-         adr == ci_card_table_address_as<address>()) {
+     if (is_card_table_address(adr)) {
        st->print("word_map_base");
        if (WizardMode) st->print(" " INTPTR_FORMAT, p2i(adr));
        return;
      }
    }
< prev index next >