RFR (XS): Wrong volatile qualifier for field ClassLoaderDataGraphKlassIteratorAtomic::_next_klass
Mikael Gerdin
mikael.gerdin at oracle.com
Mon Mar 9 07:41:30 UTC 2015
Hi Axel,
On 2015-03-06 17:17, Siebenborn, Axel wrote:
> Hi,
>
> can I have some reviews for this small change.
>
> It fixes a serious problem as the pointer _next_klass is changed
> concurrently but not correctly declared as volatile.
>
> The change fixes the declaration and removes an unneeded cast.
>
> bug: https://bugs.openjdk.java.net/browse/JDK-8074561
>
> webrev: http://cr.openjdk.java.net/~asiebenborn/8074561/webrev.00/
The change looks good to me.
/Mikael
>
> I need a sponsor for the change.
>
> Thanks,
>
> Axel
>
More information about the hotspot-gc-dev
mailing list