< prev index next >

src/cpu/sparc/vm/macroAssembler_sparc.hpp

Print this page
rev 10742 : Make fields used in lock-free algorithms volatile

@@ -1086,11 +1086,11 @@
   // if call_VM_base was called with check_exceptions=false, then call
   // check_and_forward_exception to handle exceptions when it is safe
   void check_and_forward_exception(Register scratch_reg);
 
   // Write to card table for - register is destroyed afterwards.
-  void card_table_write(jbyte* byte_map_base, Register tmp, Register obj);
+  void card_table_write(volatile jbyte* byte_map_base, Register tmp, Register obj);
 
   void card_write_barrier_post(Register store_addr, Register new_val, Register tmp);
 
 #if INCLUDE_ALL_GCS
   // General G1 pre-barrier generator.
< prev index next >