RFR (XS): G1 - Missing memory barrier in start_cset_region_for_worker
thomas.schatzl at oracle.com
Tue Jan 19 14:46:27 UTC 2016
On Tue, 2016-01-19 at 15:30 +0100, Axel Siebenborn wrote:
> we have seen crashes on ppc due to a missing memory barrier in
> The code checks, if a HeapRegion is valid by comparing the
> with a store value in an array and loads the according HeapRegion
> an other array. However, these entries are written by an other
> The two loads have to be ordered by a memory barrier, to prevent them
> from being re-ordered and accessing a stale value for the HeapRegion.
> Could I please have reviews and a sponsor for this fix.
Mikael has been faster than me about sponsoring :)
More information about the hotspot-gc-dev