--- old/src/share/vm/gc/g1/dirtyCardQueue.hpp 2016-04-06 17:17:17.758383588 +0200 +++ new/src/share/vm/gc/g1/dirtyCardQueue.hpp 2016-04-06 17:17:17.654383587 +0200 @@ -37,7 +37,7 @@ public: // Process the card whose card table entry is "card_ptr". If returns // "false", terminate the iteration early. - virtual bool do_card_ptr(jbyte* card_ptr, uint worker_i) = 0; + virtual bool do_card_ptr(volatile jbyte* card_ptr, uint worker_i) = 0; }; // A ptrQueue whose elements are "oops", pointers to object heads.