< prev index next >

src/share/vm/gc/g1/g1RemSet.hpp

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

@@ -146,11 +146,11 @@
 
   // Refine the card corresponding to "card_ptr".
   // If check_for_refs_into_cset is true, a true result is returned
   // if the given card contains oops that have references into the
   // current collection set.
-  virtual bool refine_card(jbyte* card_ptr,
+  virtual bool refine_card(volatile jbyte* card_ptr,
                            uint worker_i,
                            bool check_for_refs_into_cset);
 
   // Print accumulated summary info from the start of the VM.
   virtual void print_summary_info();
< prev index next >