RFR (XS): Wrong volatile qualifier for field ClassLoaderDataGraphKlassIteratorAtomic::_next_klass
mikael.gerdin at oracle.com
Mon Mar 9 07:41:30 UTC 2015
On 2015-03-06 17:17, Siebenborn, Axel wrote:
> 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.
> I need a sponsor for the change.
More information about the hotspot-gc-dev