< prev index next >

src/hotspot/cpu/arm/gc/shared/cardTableBarrierSetAssembler_arm.cpp

Print this page
rev 53683 : 8218625: Remove dead code in relocInfo
Reviewed-by: TBD

@@ -59,11 +59,11 @@
   __ logical_shift_right(addr, addr, CardTable::card_shift);
   __ logical_shift_right(count, count, CardTable::card_shift);
   __ sub(count, count, addr); // nb of cards
 
   // warning: Rthread has not been preserved
-  __ mov_address(tmp, (address) ct->byte_map_base(), symbolic_Relocation::card_table_reference);
+  __ mov_address(tmp, (address) ct->byte_map_base());
   __ add(addr,tmp, addr);
 
   Register zero = __ zero_register(tmp);
 
   __ BIND(L_cardtable_loop);

@@ -117,11 +117,11 @@
      showed that loading of card table base from thread descriptor is
      7-18% slower compared to loading of literal embedded into the code.
      Possible cause is a cache miss (card table base address resides in a
      rarely accessed area of thread descriptor).
   */
-  __ mov_address(card_table_base, (address)ct->byte_map_base(), symbolic_Relocation::card_table_reference);
+  __ mov_address(card_table_base, (address)ct->byte_map_base());
 }
 
 // The 2nd part of the store check.
 void CardTableBarrierSetAssembler::store_check_part2(MacroAssembler* masm, Register obj, Register card_table_base, Register tmp) {
   assert_different_registers(obj, card_table_base, tmp);
< prev index next >