--- old/src/share/vm/gc/g1/heapRegionManager.hpp 2016-04-06 17:17:25.586383681 +0200 +++ new/src/share/vm/gc/g1/heapRegionManager.hpp 2016-04-06 17:17:25.482383680 +0200 @@ -258,9 +258,9 @@ // The HeapRegionClaimer is used during parallel iteration over heap regions, // allowing workers to claim heap regions, gaining exclusive rights to these regions. class HeapRegionClaimer : public StackObj { - uint _n_workers; - uint _n_regions; - uint* _claims; + uint _n_workers; + uint _n_regions; + volatile uint* _claims; static const uint Unclaimed = 0; static const uint Claimed = 1; @@ -284,4 +284,3 @@ bool claim_region(uint region_index); }; #endif // SHARE_VM_GC_G1_HEAPREGIONMANAGER_HPP -